Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / scout / libscout / src / MotorControl.cpp @ 4e393fcc

History | View | Annotate | Download (8.24 KB)

# Date Author Comment
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....