1. 26 Apr, 2007 1 commit
  2. 12 Jan, 2007 1 commit
  3. 05 Dec, 2006 1 commit
  4. 01 Dec, 2006 1 commit
  5. 25 Oct, 2006 1 commit
    • Leigh Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
      	SETUID_BIN_SCRIPTS   =
      	SETUID_SBIN_SCRIPTS  =
      
      I have added three new rules to GNUmakerules that look like this:
      
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
      7590f9c5
  6. 18 Jul, 2006 2 commits
  7. 17 Jul, 2006 1 commit
  8. 04 May, 2006 1 commit
    • Kirk Webb's avatar
      · 51a91c3f
      Kirk Webb authored
      Add prototypes to make perl 5.8 happy
      51a91c3f
  9. 07 Apr, 2006 3 commits
  10. 29 Mar, 2006 1 commit
  11. 15 Feb, 2006 1 commit
  12. 27 Sep, 2005 3 commits
  13. 11 Sep, 2005 1 commit
  14. 31 Aug, 2005 1 commit
  15. 29 Aug, 2005 1 commit
  16. 08 Aug, 2005 5 commits
  17. 28 Jul, 2005 1 commit
  18. 26 Jul, 2005 1 commit
  19. 30 Jun, 2005 1 commit
  20. 27 Jun, 2005 1 commit
  21. 25 Jun, 2005 1 commit
  22. 24 Jun, 2005 1 commit
  23. 21 Jun, 2005 1 commit
  24. 16 Jun, 2005 1 commit
  25. 15 Jun, 2005 2 commits
    • David Johnson's avatar
      Whoops, get rid of some debug stuff. · ca1fac1b
      David Johnson authored
      ca1fac1b
    • David Johnson's avatar
      This commit adds software reset of the brainstem modules. First, the Moto · 1784c13d
      David Johnson authored
      is reset, then the GP (it seems that the GP acts as the I2C router... so
      moto has to be reset first -- this may not be true, not sure yet).  Reset
      can be toggled in pilot by sending a USR2 to the pilot process.  If reset
      is sent while robot is executing any sort of move, the only way to recover
      is to kill pilot.  Reset can be toggled whenever the robot is not moving
      without consequence (obviously, brainstem state (including wheel odometry)
      is lost).  There is also a separate reset command (brainstem-reset) that
      works independently.  This command is now called in the pilot-wrapper.sh
      script before pilot is (re)started.
      
        * GNUmakefile.in: new target `brainstem-reset'.
      
        * garcia-pilot.cc: not much.
      
        * garciaUtil.cc: the brainstem_reset function.
      
        * garciaUtil.hh: prototypes...
      
        * pilot-wrapper.sh: call brainstem-reset (NOTE: this always fails the
          first time, and I'm not sure why.  It always succeeds subsequently...
          so it makes no difference at the moment).
      
        * brainstem-reset.cc: new command to reset the brainstem modules.
      1784c13d
  26. 13 Jun, 2005 5 commits
    • Timothy Stack's avatar
      Missed an ifdef for posture reg stuff · 5c0941e7
      Timothy Stack authored
      5c0941e7
    • Timothy Stack's avatar
      turn off posture regulator by default · 49a84d44
      Timothy Stack authored
      49a84d44
    • Timothy Stack's avatar
      · 5e43a771
      Timothy Stack authored
      Initial checkin of a "repositioning" daemon that moves robots back to
      their pens on swapout.
      
      	* configure, configure.in: Add tbsetup/repos_daemon.
      
      	* db/libdb.pm.in: Add constants for the
      	repositionpending/repositioning experiments.
      
      	* db/nfree.in: When freeing garcias, send them to
      	repositionpending instead of reloadpending.
      
      	* event/sched/event-sched.c: Deal with the rare case of no
      	SIMULATOR object being in the agent list for an experiment.
      
      	* robots/emc/emcd.c, robots/emc/locpiper.in: Fix some typos.
      
      	* robots/rmcd/masterController.h, robots/rmcd/masterController.c,
      	robots/rmcd/obstacles.h, robots/rmcd/obstacles.c: Ignore dynamic
      	obstacles that are far away and remove dynamic obstacles where the
      	robot is inside the natural obstacle area.
      
      	* sql/database-create.sql, sql/database-migrate.txt: Add a
      	reposition_status table that tracks the status of robots that are
      	being moved back to their pens.
      
      	* tbsetup/GNUmakefile.in: Install the repos_daemon script.
      
      	* tbsetup/reload_daemon.in: Move robots to the repositionpending
      	experiment, if they haven't already reached their pen.
      
      	* tbsetup/repos_daemon.in: Daemon that takes care of seeing robots
      	back to their pens after they are freed from an experiment.
      5e43a771
    • Timothy Stack's avatar
      · ab06311e
      Timothy Stack authored
      Garcia-pilot updates:
      
      	* robots/primotion/buttonManager.hh,
      	robots/primotion/ledManager.hh: Comments.
      
      	* robots/primotion/dashboard.hh, robots/primotion/dashboard.cc:
      	Turn off fault detection for now, it doesn't work with moving in
      	curves at the moment.  Reenable sensor value polling, but only
      	while the robot is stationary.
      
      	* robots/primotion/garcia-pilot.cc: Change the handleCallbacks and
      	select timeouts to 5ms.
      
      	* robots/primotion/wheelManager.hh,
      	robots/primotion/wheelManager.cc: Lower the ranger thresholds when
      	movements are short in length.  This should help us maneuver into
      	tighter areas, like the robot pens.
      ab06311e
    • Timothy Stack's avatar
      oops accidentally checked this in · 2252891b
      Timothy Stack authored
      2252891b