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
Working on turning sonar on and off for robots individually.
a poor barebone of maze_solve that I wasn't able to finish
Sepearated refresh rate for scouts and for the simulator.
Fixed the line following code.
Now works with new unitsFixed a bug with reading the line location, correctly centering the line between -3.5 and 3.5 rather than -4 and 3.Also fixed a bug caused by overflow in absolute speeds sent to motor control, which fixed bouncing in line following.
Removed a ROS_INFO from ghost scout file.
Range sensors work now! :D
Changed sonar to use 16 bit values, not 8
Little cleanups.
Fixed teleop with new units, and changes the refresh rate to be closer to true m/s.
Changes so that scout1 automatically spawns upon creation of thesimulator environment, and that line follow just continuously followslines instead of prior line-following-capability testing code.
Fixing bugs with ghost scout (these were problems in odometry relatedto constants in the simulator and coordinate frame and theta representationin the simulator). Also made ghost scout translucent in order to differentiateit.
Conflicts: scout/scoutsim/src/scout_constants.h
Continuing work on standardization of units.
Cleanups/TODOs.
Files that add ghost scout.
Changes to add ghost scout to sim frame and make it show up on the simulator.Currently the functionality for killing scouts does not kill the ghost scout. That needs to be fixed eventually.
Conflicts: scout/scoutsim/src/scout.cpp scout/scoutsim/src/scout.h
Fixed sonar bug (corrected y direction)Added sonar_toggle and set_scan command and callbacksCleaned up sonar_visual toggle code
Added header guards to scout constants.
Last commit did not contain changes to Odometry behavior. Gits dumb.
Changed Odometry to publish a ScoutPosition message with the scoutname, x, y, and theta.
Added new launch file template for scoutsim.
Style changes to BehaviorGUI (line length, spacing)
Fixed AVR hanging when sonar not connected
Began filling in ROSsy main function
Some changes to the stepper library
A few bug fixes, and changed various values to use ms instead of us dueto integer overflow problems.
Removed Header from BOM message.
If we need a timestamp, we can add it back later. We don't need aframe_id...
Scoutsim now has consistent units of m and m/s.
This will cause some problems.
Fixed pause and resume. Kind of. There are lots of bugs with the GUI.
Fluidified fluid teleop.
Removed the initial default scout spawn.
This should be taken care of by the GUI or launch file somehow.
Loads specific images for each scout if they exist
Otherwise, looks in the images folder for scout.png.Added a few default scouts with numbers, and the xcf files they were created from.
Fixed pause so that it compiles. Also changed behavior gui so that it starts with Scout1 automatically.
Added toggle for Sonar. Added backsonar indicate-Sonar can be toggled under Sim -> Sonar-Front and Back onars now display most recent scan point as a green dot
BOM testing code in main.cpp works with rosserial
Conflicts: scout/libscout/CMakeLists.txt scout/libscout/src/BehaviorList.cpp scout/libscout/src/BehaviorList.h
Added pause behavior to list
Added new behavior to makefile
Changed scout_avr's main.cpp to use rosserial
Fixed problem with "make clean all" globs failing
Finally automated generation of ros_lib for rosserial!
Changed sonar/bom timer to 64 prescalar
Also fixed bug in the bom's timer usage, where it depended on an integeroverflow that was no longer occuring due to the higher F_CPU.
Also available in: Atom