Fixed teleop with new units, and changes the refresh rate to be closer to true m/s.
Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos
Continuing work on standardization of units.
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)
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
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
Removed bom.cpp, bom.h, get_bom_reading.srv, and query_sonar.srv
Removed them for real this time; not pretend :D
Changed get_bom_reading.srv to bom.msg
Also, removed bom.cpp and bom.h since there won't be a bom node runningon the Gumstix.
Scoutsim: Added Sonar Toggle
Sonar display can now be toggled via Menu->Sim->Sonar
Added built-in scoutsim teleop!
Generate a blank image for lines/walls if one doesn't exist.
Edited Sonar to display points on simulator.
Changed rate of sonar scan to 0.5sMade a new wxDC graphics object for sonar
Fixed Odometry behavior so that it now works and then added a get readings functionality to sonarcontrol.
Added Sensors class that abstracts away sensors from behaviors. Stops creatingduplicated sensors for each scout.
Added race_walls again, whoops.
Added a new grid map for testing.
Updated scout size. Now 1px = 0.5cm.
Added initial GUI for testing, renamed cw and ccw behaviors
Also added new testing files for sonar - maps/racetest*.bmp
Added sonar, though it looks buggy.
Use sonar_viz to continue debugging and make sonar work!
Added flush to motors node so hardware values actually change
Finished adding gpio control to motors node
I changed the Motor constructor to take pin numbers instead of filenames, and construct the file names itself. All that remains in testing.
Added forward/backward support to motors node
Changed motors node to write to pwm device files
Added walls to the scoutsim visualizer.
Fixes to WirelessReceiver and wl_test
Changed receive callback to use std::function so we can use std::bind topass non-static member functions. There is still a weird problem whereWirelessReceiver::dummy gets called many times for each incoming packetin wl_test.
Broke the build and then fixed it. Now onto testing!
Added wireless handling to scoutsim. Untested.
Just commented out a line of unused code.
Added delay to kickstart file to make sure scoutsim gets set up.
Not like anyone cares.
Demo almost working Scouts go home! a
Added launch files for the demo and made a little change to theargument checker to make them work.
better warehouse image (corresponds with lines now) and demo. Now only thing left is to implement home behavior.
Ok Scheduler warehouse behaviour working! and linefollowing works better now! Onto better demo.
Trying to make the warehouse robot drive around
Renaming to line follow and getting rid of old linefollowing files.
adding maps for warehouse and fixing strtok issue in wh_robot that massed up curr_task
some testing done on WH_robot exec_task, issue pinpointed to curr_task's dest being stored as 0, not fixed yet
made the linefollowing a bit more reliable
Sim line can make turns now! yay
WH_robot goes home in exec_task, follow_path function added; untested
Adding wl_test files that were not added before
Small changes to wireless, and starting turning with line following.
some fixes to whrobot and scheduler
updated teleop; now works for multiple scoutsim robots
Line following code made bettergit status
fixed scheduler array access, no more segfaulting, but hangs
Fully working linefollowing. Instructions:
roscorerosrun scoutsim scoutsim_node racerosrun libscout libscout scout1 6
reduced teleop delay, scout drives forward now
really really fixing teleop this time
fixed incorrect delay in teleop yay
Linesensor tested and done!
Basic line sensor readings!
ROS scheduler/whrobot behavior needs to be debugged
Added LinesensorControl =(
Changing scheduler and WH robot to ROS messages
Added linesensor package.
Added template linesensors to scoutsim
Added sim_line behavior for line follow testing.
Fixed bugs and compiler warnings in old code.
Added linesensor to the behavior class.