Project

General

Profile

Statistics
| Branch: | Revision:

root / scout / motors / src @ bf68fc90

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