Hacky fix to pause to work around issue that sending motor commands sometimes does nothing.
Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos
Changed it so that all behaviors are not instantiated immediately. Also changed pause so it does not spam (0, 0) motor speeds.
Bugfix to BehaviorGUI causing crashes.
Fixed segfault from LinesensorControl when the service call failed
Adding Charles's headlight code
Added latching to publishers so the first message gets noticed.
Committing Anson's BOM changes
Added ENABLE output for stepper
This will hopefully solve the problem of the stepper heating excessivelyand constantly using current.
Fixed rosserial; now works with Gumstix
Changed stepper to always step in step_sweep
Also added whole/half step as a separate setting, with a singlestep_do_step function. Also added stepper to main.cpp.
Fixed encoder.ko makefile and missing #include
Removed encoder udev rule
Added conversions abs_to_rel and rel_to_abs.
Also, added warnings after these conversions in the case that a requested speed has to be cropped.
Tested against a temporary behavior which set the speeds (now removed since it's very easy to write such a test behavior).
Added code for unit conversion, pending tests.
Old little changes to sonar.
Adding a Priya custom scout.
Changes to the encoder driver
It now uses an entry in sysfs instead of /dev. Also it now compiles.
Adding kernel patch for scout_power_off
Removed unnecessary extra code in motors node (oops!)
Fixed whitespace in motors node
Fixed motors node to work around pwm driver bug
The node can now only do writes to /dev/pwm*, because doing both readsand writes causes the fstream to try seeking, which fails because it'snot supported by the driver. Then the fstream refuses to do any more io.
Adding (untested) u-boot patch for pin muxing
Cliff Sensor
Signed-off-by: Anson Wang <gzwsc2007@gmail.com>
Changed some more stuff, broke running things.
Added node for testing motors
Probably fixed the crashing bugs. Implemented floating point pickers.
Changed gumstix network config to static
Changed linefollowing so that turns start working once again. Also fixed some bugs with maze solving.
Fixed sonar out of range bug. Max range now at 9.144 m.
Called spinOnce to update sonar readings.
Nicer look for maze map.
Added new services.
Registered a default callback for wireless receiver. Also added default virtual constructor.
Added a maze map.
Added the behavior to behavior list and cmakelists and made things compile.
Finished writing up the maze solving behavior.
Updated sonar so it broadcasts readings in mm as specified.
Removed old teleop.
Changed documentation: sonar pos 0 is on the right
"Fixed" the sonar bug.
Turns out the sonar just wasn't set to on by default, so nothing was being visualized.Changed it so the sonar is on by default.We should probably make it more clear when the sonar is off.
Added services to set individual control for visualization tools.
However, there is a bug in the sonar viz for multiple scouts, looking into it now.
Conflicts: scout/scoutsim/src/sim_frame.cpp
Also available in: Atom