Fixed motors node to work around pwm driver bug
The node can now only do writes to /dev/pwm*, because doing both readsand writes causes the fstream to try seeking, which fails because it'snot supported by the driver. Then the fstream refuses to do any more io.
Fixed teleop with new units, and changes the refresh rate to be closer to true m/s.
Continuing work on standardization of units.
Added flush to motors node so hardware values actually change
Finished adding gpio control to motors node
I changed the Motor constructor to take pin numbers instead of filenames, and construct the file names itself. All that remains in testing.
Added forward/backward support to motors node
Changed motors node to write to pwm device files
Small tidying up.
Took out unneeded gensrv() in buttons, which caused a compilation warning, and made miniscule style changes to motors.cpp.
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.
actually removing what I removed
Also available in: Atom