Statistics
| Branch: | Revision:

scoutos / scout / motors / src @ 493cc515

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

Latest revisions

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

Removed unnecessary extra code in motors node (oops!)

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

View revisions

Also available in: Atom