Statistics
| Branch: | Revision:

root / scout / libscout / src / MotorControl.cpp @ fa5ca6e3

History | View | Annotate | Download (9.18 KB)

# Date Author Comment
fa5ca6e3 02/03/2013 06:46 pm Priya

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.

cfdb3afa 01/29/2013 07:18 pm Alex Zirbel

Added latching to publishers so the first message gets noticed.

f325b893 01/06/2013 06:50 pm Alex Zirbel

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).

4e393fcc 01/04/2013 05:46 pm Alex Zirbel

Added code for unit conversion, pending tests.

6761a531 04/07/2012 07:43 pm Priya

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)

c492be62 01/03/2012 11:41 pm Alex Zirbel

Updated the licensing information in many files.

This is a broken commit because I decided to do this at a bad time. Sorry! The build will be working after next commit, I promise (and I won't push till then). This commit reflects the licensing in the files after I used my auto-add/remove script.

cc558a8d 01/02/2012 07:18 pm Alex Zirbel

Modified the Behaviors to take a scoutname.

Scoutname now specifies which scout the behavior will affect. Scoutname must be passed to the constructors of each control module (some of which are now in need of modification), so that they can publish to the correct topic....

c384dc7e 01/02/2012 03:14 pm Alex Zirbel

Updated the Behavior definition and extensions.

The Behavior.cpp/h class now works and can be extended by simply implementing its run() method. However, the subclass must also be extantiated and used in an external executable. An example of this can be seen in PriyaBehavior.cpp/h, and the executable, priya_behavior_process.cpp. In the future, we should move all behaviors into a behaviors/ folder, and autogenerate the executable to be compiled....

144137a1 12/26/2011 04:15 pm Alex Zirbel

Got motor control working with scoutsim

Behaviors can now use the MotorControl class to change the speed of the motors in the simulator. The simulator correctly handles the command.
At the moment, the set_motors command is limited to 'scout1'. We should look into prefixes to specify which scout (scout1, scout2, etc) each behavior should command....

a8480867 12/04/2011 01:17 am Alex Zirbel

Made a lot of changes to the general structure.

Applied object-orienting techniques to the code, cleaning it up considerably. Major design changes are as follows:

  • All separate node code (ie motors) are meant to only interface with hardware - doing as little logic as possible....