Pass camera local to world offsets through vmcd. * event/sched/rpc.cc: Add the camera fixed_x,fixed_y values to the emcd.config file. * robots/emc/emcd.c: Pickup the cameras fixed_x,fixed_y values from the config file. Add supports for setting the speed of the robot. * robots/mtp/mtp.h, robots/mtp/mtp.c: Add support for setting speed in GOTO packets and constructing vmc-client config packets. * robots/mtp/mtp.x: Add a vmc-client config packet that contains the cameras origin in world coordinates. * robots/mtp/mtp_dump.c: Dump the min/max values for x and y, handy for figuring out the bounds of the camera. * robots/vmcd/visionTrack.c, robots/vmcd/visionTrack.h: Handle cameras that are overlapping on two axes. * robots/vmcd/vmc-client.c: Accept a vmc-client config packet that tells us where the camera is in world coordinates. Add an orientation flag that specifies how the camera is oriented wrt to the world coordinate system. * robots/vmcd/vmcd.c: Send vmc-client config packets out. Fix a bug that left unknown tracks in the previous frame, which could confuse the matching algorithm causing it to match unknown tracks instead of valid known tracks.
Showing
- event/sched/rpc.cc 6 additions, 3 deletionsevent/sched/rpc.cc
- robots/emc/emcd.c 19 additions, 7 deletionsrobots/emc/emcd.c
- robots/mtp/mtp.c 44 additions, 6 deletionsrobots/mtp/mtp.c
- robots/mtp/mtp.h 1 addition, 0 deletionsrobots/mtp/mtp.h
- robots/mtp/mtp.x 14 additions, 0 deletionsrobots/mtp/mtp.x
- robots/vmcd/visionTrack.c 118 additions, 205 deletionsrobots/vmcd/visionTrack.c
- robots/vmcd/visionTrack.h 52 additions, 7 deletionsrobots/vmcd/visionTrack.h
- robots/vmcd/vmc-client.c 59 additions, 33 deletionsrobots/vmcd/vmc-client.c
- robots/vmcd/vmcd.c 33 additions, 10 deletionsrobots/vmcd/vmcd.c
Loading
Please register or sign in to comment