View Single Post
  #14   Spotlight this post!  
Unread 15-02-2015, 17:57
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 72
RoboBucs is an unknown quantity at this point
Exclamation Re: Use a button to make a motor move a certain number of rotations

Quote:
Originally Posted by Levansic View Post
Encoders, built in or otherwise, have to plug into something that can understand their signals. The Victors have no such facility. They are not "intelligent", meaning they don't take any external feedback.

The motors themselves don't have any intelligence. Their inputs are only the voltage applied to the wires. The encoders are not linked in any way to the windings in the motor.

You have setup some DIO channels to take the A and B data from the encoders. This information goes straight into the roboRio, which has to do something with it, to control the input to the victors. The roboRio is the brain in this case.

The new Talon SRX's are intelligent, and can do the work onboard with no involvement of the roboRio. The older Jaguars had promise of this, but in practice, they rarely worked as designed for encoder-driven closed loop feedback. I have trouble finding the right words to describe how much I LOVE the Talon SRX's closed loop modes.
Do you know any realistic way that I could make this work with the encoder? I honestly don't have the slightest clue about anything to do with PIDs. All I need it to do it run an exact amount of rotations each time, there has to be some way to do it, could I maybe use a case structure?

Last edited by RoboBucs : 15-02-2015 at 18:01.
Reply With Quote