More fixes to launch scripts (poorly written by Tom ;)
Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos
Fixed launch script error
Removed headers, sonar uses custom timestamp, added code to manually update timestamp
running libscout behaviors without specifying a name shouldmake everything publish directly (e.g., to /set_motor instead of/scout1/set_motor) and thus should work on hardware.
Added rosscout.launch in libscout
On startup, it will now launch rosscout instead of rosserial. rosscoutincludes rosserial, motors, encoders, and any other helper nodes addedlater.
Freeing memory we allocate. Yay!
Changed scout constants to refresh faster. Also retuned linefollowing for faster refresh rate.
Fixed pause not working with the GUI. Also removed super annoying printf from MotorControl. And also fixed some pause/resume GUI bugs and the fact that process.kill and process.terminate wouldnt do anything.
Removed 'priya_draw_name' include from BehaviorList.
Hacky fix to pause to work around issue that sending motor commands sometimes does nothing.
Changed it so that all behaviors are not instantiated immediately. Also changed pause so it does not spam (0, 0) motor speeds.
Fixed segfault from LinesensorControl when the service call failed
Added latching to publishers so the first message gets noticed.
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.
Changed linefollowing so that turns start working once again. Also fixed some bugs with maze solving.
Called spinOnce to update sonar readings.
Registered a default callback for wireless receiver. Also added default virtual constructor.
Added the behavior to behavior list and cmakelists and made things compile.
Finished writing up the maze solving behavior.
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.
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.
Last commit did not contain changes to Odometry behavior. Gits dumb.
Fixed pause and resume. Kind of. There are lots of bugs with the GUI.
Fixed pause so that it compiles. Also changed behavior gui so that it starts with Scout1 automatically.
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
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 initial GUI for testing, renamed cw and ccw behaviors
Added forward/backward support to motors node
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.
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
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
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 sim_line behavior for line follow testing.
Fixed bugs and compiler warnings in old code.
Added linesensor to the behavior class.
Forgot to add scheduler to behavior list
Pushing modified behavior process that requires less arguments and appends scoutname to ros node name. and a compiling but not tested version of test_behaviors (scheduler and wh_robot)
Got scheduler to compile. onto wh robots
added get worst case time to wh_robot
added get_worst_case_time to nav maps
Added maps and menus in scoutsim.
Menu options for about, quit, clear, and viewing different maps.
Merged WH_Robots with other files
updating Order with util functs
minor edit to prev push
WH_Robot preliminary code, untested
Fixed some bugs in navmap
Merged scheduler implementations and modified order structrure class
An implementation of a portion of the scheduler code. Will probably be stripped for useful content and added to the real final version. Mostly just sets up the structure of the scheduler class and its interface with getting and putitng jobs into the lists.
Adding scheduler interface.
Adding Doxygen documentation to navigationMap
Made nav map into an actual workable behaviorgit statusgit status
Behaviours now have names!