Go to Post Think about the other teams...today your opponent, today your teammate. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 31-03-2016, 14:56
Jeringo Jeringo is offline
Registered User
FRC #4749
 
Join Date: Jan 2016
Location: Atlanta
Posts: 10
Jeringo is an unknown quantity at this point
understanding position control with encoders

Greetings I am trying to program for a shooter that has a variable tilt from anywhere between 0 and 80 degrees. we are using a talonSRX with an encoder on it (http://www.vexrobotics.com/217-5046.html). My question is how exactly does position control work? We have set the feedback device to Quad Encoder and changed the control mode to position. From there we set the encoder counts per rev to many numbers currently 45, set the encoder position to 0. Now here is where the confusing part comes in Do I need to use SetPID and if so how do I use it. Is there a way to set the max velocity or slow the motor down? Is there any good way to calibrate the code so that I can set(10) and get 10 degrees? Thanks.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi