1. 14 Dec, 2004 12 commits
    • Daniel Flickinger's avatar
      · 05e7fce1
      Daniel Flickinger authored
      quick fix
      05e7fce1
    • Daniel Flickinger's avatar
      · 0d6193d5
      Daniel Flickinger authored
      added -lm to LIBS for libmath
      0d6193d5
    • Daniel Flickinger's avatar
      · 961c5e51
      Daniel Flickinger authored
      included math.h
      961c5e51
    • Daniel Flickinger's avatar
      · 9ed0d1ce
      Daniel Flickinger authored
      whoops .. added angle calculations to coordinate transformations
      9ed0d1ce
    • Leigh Stoller's avatar
      Minor change to last revision. · 8ea909a4
      Leigh Stoller authored
      8ea909a4
    • Leigh Stoller's avatar
      Uh, the penthouse is the fourth floor not the third floor. I started · aa7843bd
      Leigh Stoller authored
      making this error about 15 years ago when we moved to the penthouse.
      
      Add -t option to kill titles in images; it messes up calculation.
      Add new -z option to tell it to not do any zoom/pan stuff; just use
      the cur x,y to draw crosshair.
      
      Pass the state file through again, which has now has the bounds of the
      image. Not using this yet.
      aa7843bd
    • Leigh Stoller's avatar
      Jigger options so that I can pass in current x,y for crosshair, but · 08d02865
      Leigh Stoller authored
      not have it do any zoom/pan stuff since that appears to screw up the
      image when you click near the bottom of the image. No idea why, I just
      avoid the code when new -z option is given. Also write the bounds of the
      image to the state file. Might need this later.
      08d02865
    • Daniel Flickinger's avatar
      · 70955793
      Daniel Flickinger authored
      Filled in position transformation functions for RMCD
      70955793
    • Mike Hibler's avatar
      Update info about span port on cisco2 · ed054099
      Mike Hibler authored
      ed054099
    • Timothy Stack's avatar
      · 5a1f373a
      Timothy Stack authored
      Add more debugging output to the robot daemons and do some more cleanup.
      5a1f373a
    • Timothy Stack's avatar
      · 988a850d
      Timothy Stack authored
      Even more robot-related cleanup:
      
      	* robots/primotion/Makefile: Add an install target that copies the
      	executables to the robots.  The default set of robots is
      	"garcia1-6", if you want a subset do: 'make install
      	ROBOTS="garcia2"'
      
      	* robots/primotion/gorobot.cc: Refactoring, add some more
      	debugging output, and print the battery level at startup and every
      	five minutes.
      988a850d
    • Leigh Stoller's avatar
      Add back some of Russ's code that allowed for clicking on the map, and · 98348a99
      Leigh Stoller authored
      getting a crosshair painted in. Also use those coords and the
      pixels_per_meter conversion from the DB to print out for the user
      where he just clicked.
      
      Change the SHOWNODE function to print out the coordinates (so when you
      click on a robot in the map, you get a line that says what its coords
      are).
      
      Also generate table of all robot positions to place below the image.
      98348a99
  2. 13 Dec, 2004 21 commits
    • Timothy Stack's avatar
      · dde7799c
      Timothy Stack authored
      More robot-related tweaks and bug fixes:
      
      	* robots/emc/emcd.c: Handle "-h" option properly.
      
      	* robots/emc/loclistener.in: Pickup the pixels_per_meter value
      	from the database and use that to convert event coordinates in
      	meters to pixels for the database.
      
      	* robots/primotion/gorobot.cc: Comment.
      
      	* robots/primotion/dgrobot/gcallbacks.h,
      	robots/primotion/dgrobot/gcallbacks.cc,
      	robots/primotion/dgrobot/grobot.h,
      	robots/primotion/dgrobot/grobot.c,
      	robots/primotion/dgrobot/grobot_sim.cc: Small bug fixes to make
      	sure the position estimate is updated when moving in a straight
      	line.
      
      	* robots/rmcd/rmcd.c: cleanup
      
      	* robots/vmcd/GNUmakefile.in, robots/vmcd/test_emcd3.config,
      	robots/vmcd/test_vmcd3.pos, robots/vmcd/test_vmcd3.sh,
      	robots/vmcd/test_vmcd4.pos, robots/vmcd/test_vmcd4.sh: Some more
      	test cases, still pretty simple though.
      dde7799c
    • Russ Fish's avatar
    • Timothy Stack's avatar
      · a83bc7d2
      Timothy Stack authored
      Start of an applet/php hack for showing mote LED status on web pages:
      
      	* www/BlinkenLichten.java, www/BlinkenLichten.class: Applet that
      	connects back to the server and changes its color based on output
      	from a php page.
      
      	* www/GNUmakefile.in: Install java classes.
      
      	* www/ledpipe.php3: Draft page for driving the BlinkenLichten
      	applet, it just alternates on/off and doesn't read the real
      	status.
      
      	* www/showstuff.php3: Add a function that outputs the html magic
      	to embed the applet.
      a83bc7d2
    • Russ Fish's avatar
      8a5d1f1e
    • 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
    • Robert Ricci's avatar
      New script: tbsgmotepower - · b63374eb
      Robert Ricci authored
      	A script for powering on, off, and cycling motes attached to
      	stargates
      
      Requires /usr/local/bin/motepower (our program, not yet in CVS) to be
      installed on the hosting stargate.
      b63374eb
    • Leigh Stoller's avatar
      Force DHCP to set interfaces to: · 2247fde5
      Leigh Stoller authored
      	media "media 100baseTX mediaopt full-duplex";
      
      since they will be in autosense mode by default, which does not play
      well with switchports that are fixed to speed/duplex.
      2247fde5
    • Leigh Stoller's avatar
      Add conversion factor to floorimages table that specifies pixels per · d2c9c9bc
      Leigh Stoller authored
      meter for the image.
      d2c9c9bc
    • 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
    • Mike Hibler's avatar
      Accept 'emulab' style firewall · 2ab334c1
      Mike Hibler authored
      2ab334c1
    • Mike Hibler's avatar
      2e3339ca
    • Mike Hibler's avatar
      bb3eec4c
    • Leigh Stoller's avatar
      Minor fix. · 9adc56c0
      Leigh Stoller authored
      9adc56c0
    • Leigh Stoller's avatar
      0f027c7d
    • Timothy Stack's avatar
      Update for changes to mtp · 11073ae3
      Timothy Stack authored
      11073ae3
    • 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
    • Timothy Stack's avatar
      Compilation fixes · f2291e2b
      Timothy Stack authored
      f2291e2b
    • David Johnson's avatar
      * emc/emcd.c: · 7eeb2799
      David Johnson authored
         - added the final code necessary to fully handle a vmc client.
      7eeb2799
    • Timothy Stack's avatar
      · 2353996a
      Timothy Stack authored
      Cleanup rmcd a bit:
      
      	* GNUmakerules: Quick fix to the "check" target.
      
      	* robots/rmcd/rmcd.c, robots/rmcd/test_rmcd.sh.in: Cleanup the
      	code a bit, add some comments, etc...
      2353996a
    • Timothy Stack's avatar
      · fde7ae29
      Timothy Stack authored
      Rmcd and garcia stuff:
      
      	* configure, configure.in: Add robot related template files.
      
      	* robots/GNUmakefile.in: Add primotion directory.
      
      	* robots/emc/emcd.c: Debugging printfs, check the status for
      	update-position messages from rmc, and add a basic handler for
      	emulab clients.
      
      	* robots/emc/test_emcd.sh.in: Update for changes in mtp.
      
      	* robots/mtp/mtp.h, robots/mtp/mtp.c: Changes for the garcia.
      
      	* robots/mtp/mtp_send.c: Fixes so that it will compile under
      	linux.
      
      	* robots/primotion/GNUmakefile.in: Makefile for building a fake
      	gorobot in the testbed tree.
      
      	* robots/primotion/Makefile: tweaks
      
      	* robots/primotion/gorobot.cc: First draft with sort-of working
      	networking code.
      
      	* robots/primotion/test_gorobot.sh.in: Test case for the fake
      	gorobot.
      
      	* robots/primotion/dgrobot/GNUmakefile.in: Makefile for building a
      	fake grobot class in the testbed tree.
      
      	* robots/primotion/dgrobot/grobot.h: Add #if !defined(GROBOT_SIM)
      	conditionals.
      
      	* robots/primotion/dgrobot/grobot_sim.cc: Empty impl of grobot
      	class used for testing.
      
      	* robots/rmcd/GNUmakefile.in: Targets for building rmcd and
      	running its test case.
      
      	* robots/rmcd/rmcd.c: First draft with sort-of working networking
      	code.
      
      	* robots/rmcd/test_emcd.config: emcd configuration for the rmcd
      	test case.
      
      	* robots/rmcd/test_rmcd.sh.in: Test case for rmcd.
      fde7ae29
  3. 12 Dec, 2004 7 commits
    • Robert Ricci's avatar
      Add support for referring to nodes by their virtual names, by giving a · d50c5e8b
      Robert Ricci authored
      pid/eid argument.
      d50c5e8b
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
    • David Johnson's avatar
      mezzanine with ipc not webcam changes · f4df9954
      David Johnson authored
      f4df9954
    • 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
    • David Johnson's avatar
      · 1b7d1903
      David Johnson authored
      Oops, here's the changes to mtp.h to add support for 64bit timestamps.
      1b7d1903