1. 14 Dec, 2004 4 commits
    • 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 B. Stoller's avatar
      Add back some of Russ's code that allowed for clicking on the map, and · 98348a99
      Leigh B. 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 B. Stoller's avatar
      Force DHCP to set interfaces to: · 2247fde5
      Leigh B. 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 B. Stoller's avatar
      Add conversion factor to floorimages table that specifies pixels per · d2c9c9bc
      Leigh B. 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 B. Stoller's avatar
      Minor fix. · 9adc56c0
      Leigh B. Stoller authored
      9adc56c0
    • Leigh B. 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 8 commits
  4. 11 Dec, 2004 6 commits
  5. 10 Dec, 2004 1 commit
    • Robert Ricci's avatar
      Add support for loading code onto stargates by sshing into the · c414f1b9
      Robert Ricci authored
      stargate and running uisp there.
      
      Untested so far.
      
      Unfortunately, tbuisp now needs to be setuid root because it has to
      ssh into the stargates as root. So, take some precautions, like taint
      checking and dropping root privs before running uisp locally, to
      mitigate the risks.
      c414f1b9