1. 14 Dec, 2004 1 commit
  2. 13 Dec, 2004 4 commits
    • Timothy Stack's avatar
      · 57ddedbe
      Timothy Stack authored
      More bug fixes for vmcd and friends:
      
      	* GNUmakerules: Set SRCDIR as an environment variable so every
      	test doesn't have to be a template.
      
      	* robots/emc/emcd.c: Correctly handle a vision position that is
      	dead-on the initial position.  XXX Turn off orientation matching
      	for now, it is too strict at the moment so that it favors close
      	orientation over close position.
      
      	* robots/mtp/mtp.c: Fix some broken printfs in mtp_print_packet.
      
      	* robots/vmcd/GNUmakefile.in: Add another test.
      
      	* robots/vmcd/test_emcd2.config, robots/vmcd/test_vmcd2.pos,
      	robots/vmcd/etst_vmcd2.sh: A test that matches the initial
      	positions of two robots.
      
      	* robots/vmcd/test_vmcd.pos: Reduce the distance the robot moved
      	between frames.
      
      	* robots/vmcd/vmcd.c: Fix a bugfix and some formatting changes.
      57ddedbe
    • Timothy Stack's avatar
      · 0a60aafe
      Timothy Stack authored
      Some bugfixes and an improved test case for vmcd:
      
      	* robots/emc/emcd.c: Add a REQUEST_POSITION handler for the
      	emulab_callback.  Fix some simple bugs when processing REQUEST_ID
      	packets.
      
      	* robots/vmcd/test_emcd.config: Use just one robot for simple
      	test.
      
      	* robots/vmcd/test_vmc-client.pos: A position file for the
      	vmc-client test.
      
      	* robots/vmcd/test_vmc-client.sh.in: Test with a position file
      	instead of hardcoded numbers.
      
      	* robots/vmcd/test_vmcd.pos: Position file for the vmcd test.
      
      	* robots/vmcd/test_vmcd.sh.in: Make the test a little simpler, but
      	add a check to see if vmcd finds the robot initially.
      
      	* robots/vmcd/vmc-client.c: Add a "-f" option that lets you use a
      	"position" file that contains the object positions for a series of
      	frames.
      
      	* robots/vmcd/vmcd.c: Some bug fixes.
      0a60aafe
    • David Johnson's avatar
      * vmcd/vmcd.c: · da2e8d85
      David Johnson authored
         - oops, now its fixed!
      * vmcd/GNUmakefile.in:
         - linked to math lib as well...
      da2e8d85
    • David Johnson's avatar
      * vmcd/vmcd.c: · 8a680751
      David Johnson authored
         - compilation fixes
      8a680751
  3. 12 Dec, 2004 2 commits
    • Timothy Stack's avatar
      · 3af9b150
      Timothy Stack authored
      Minor cleanup:
      
      	* robots/emc/test_emcd.sh.in, robots/mtp/mtp_send.c,
      	robots/mtp/mtp_test.c: Bring up-to-date with the latest version of
      	mtp stuff.
      
      	* robots/vmcd/vmc-client.c: Add "valid" field to the mezz stub
      	struct.
      
      	* robots/vmcd/vmcd.c: Some compile fixes...
      3af9b150
    • David Johnson's avatar
      · 6d3b6118
      David Johnson authored
      * emcd.c:
         - minor changes, mostly comments. this is next to fix up.
      * vmc-client.c:
         - minor changes to tell vmcd about the last packet in a frame
      processing cycle (via MTP_POSITION_STATUS_CYCLE_COMPLETE being set in the
      last update_position packet of a frame processing cycle).
         - maybe other stuff...
      * vmcd.c:
         - massive changes to handle tracking of robots from data passed from
      vmc-client, and to handle ID association.
      * mtp.h:
         - addded MTP_POSITION_STATUS_CYCLE_COMPLETE #define
         - updated structs request_id and update_id to include a `request_id'
      field so that we can uniquely track requests (since they're asynchronous).
      * mtp.c:
         - revamped code for above mtp.h changes.
      6d3b6118
  4. 11 Dec, 2004 1 commit
    • Timothy Stack's avatar
      · 52afaefd
      Timothy Stack authored
      Frame out vmcd:
      
      	* GNUmakerules: Fix "check" target so it runs more than one test.
      
      	* robots/emc/emcd.c: Send the vmc config packet out when vmcd
      	connects.
      
      	* robots/vmcd/GNUmakefile.in: Add vmcd-related stuff.
      
      	* robots/vmcd/test_emcd.config: Emc config for the test case.
      
      	* robots/vmcd/test_vmcd.sh.in: Simple test case for vmcd.
      
      	* robots/vmcd/vmcd.c: Initial framing of vmcd, just receives and
      	dumps packets, actual logic still needs to be put in.
      52afaefd