ut-ras/Rasware2013 — pull request #36 by geky (2013-12-11 06:52:39+00:00)
Title: Adding Servo Motors

It's very common to drive a motor through rc-pwm. In RAS we've driven Jaguars, Victors, VEX motor controllers, and continuous-servos in this way. It's not that hard to use the servo module for driving these motors, but leads to a bit of annoyance when you need to shift the range around.

This change adds PWMMotors, another motor type that takes a single pin and simply drives an rc-pwm in the range of [-1, 1] with an invert flag. It uses the polymorphism defined for the line sensor modules.

Now there is InitializePWMMotor and InitializeTLEMotor, although I'm not sure if there are better names we could use.