This definitely works. We have an entire product based on the idea of running robots with Arduinos.
You the servo library for basic functions.
Or...load the RobotOpen library...this will also give you the ability to control the speed controller with a gamepad using our open-source driver station.
The library designed for the RobotOpen Control Shield should work fine on a standard Arduino. You'll have to map some of the pins differently, if not using our shield, but it can be done.
Send me a PM if you have any specific questions.
Quote:
Re: Arduino Motor Controller
We did this a while back and if there is one thing I recommend is trying to emulate some of the safety features built into the typical FRC control system.
|
The RobotOpen library adds these types of safety features and gives you a reliable method for enable/disable.