| Branch: | Revision:

scoutos / scout / motors / src @ fcd68ec1

Name Size
motors.cpp 5.93 KB
motors.h 2.32 KB

Latest revisions

# Date Author Comment
fcd68ec1 12/09/2012 06:12 pm Thomas Mullins

Fixed whitespace in motors node

8913c26d 12/09/2012 06:09 pm Thomas Mullins

Fixed motors node to work around pwm driver bug

The node can now only do writes to /dev/pwm*, because doing both reads
and writes causes the fstream to try seeking, which fails because it's
not supported by the driver. Then the fstream refuses to do any more io.

7e9a19f4 10/21/2012 05:29 pm Thomas Mullins

Added flush to motors node so hardware values actually change

ed37d345 10/20/2012 11:29 am Thomas Mullins

Finished adding gpio control to motors node

I changed the Motor constructor to take pin numbers instead of file
names, and construct the file names itself. All that remains in testing.

560d2317 10/14/2012 04:41 pm Thomas Mullins

Added forward/backward support to motors node

cc9e9213 10/13/2012 11:18 am Thomas Mullins

Changed motors node to write to pwm device files

9b11c5b3 01/04/2012 11:33 pm Alex Zirbel

Small tidying up.

Took out unneeded gensrv() in buttons, which caused a compilation warning, and made miniscule style changes to motors.cpp.

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.

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....
2814387f 11/30/2011 10:14 pm Alex Zirbel

Updated motors code.

Changed the definitions for the set_motors message, which forced a few
implementation changes as well.

Changed "libscout_node" to "node" and "n" to "node" in other packages.

View revisions

Also available in: Atom