Thread: CAN Help
View Single Post
  #3   Spotlight this post!  
Unread 01-08-2015, 12:07 PM
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 587
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: CAN Help

There are two CAN Talon SRX sample programs included with the plugins that you should look at. One, "CAN Talon SRX" does a simple voltage controlled example. The other more interesting sample, "CAN Talon SRX PID" uses PID control in the Talon to control a motor from a potentiometer input that you might use, for example, to make an elevator that would lift game objects to a particular level.

To get those samples from Eclipse, select New Project..., then "Example Robot C++ Project", then choose one of the two samples described above.

These are both very simplified programs to show the basics of using the Talon SRXs and not how you might write a complete much more complex program. There are a bunch of other samples and ScreenSteps documentation to help with that.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote