ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hobby ESC take the same kind of signal as a hobby servo: a 1-2 millisecond pulse, where the pulse length sets the speed and direction. Pulses shorter than about 1.5mS are one direction; pulses longer than 1.5mS are the other.
You can generate the servo drive signal with an arduino running rosserial: http://wiki.ros.org/rosserial_arduino/Tutorials/Servo%20Controller (and it's relatively easy to extend that demo to control two servo outputs; one for your ESC and one for steering).
There are probably libraries for the Raspberry Pi that will generate a similar signal.
I've done this kind of conversion before, and there are a few things to watch out for:
After using the stock ESC in my robot for about a year, I eventually converted it to a brushed 55T rock crawler motor and a Pololu motor controller with direct PWM and direction inputs.