Go to Post Isn't FIRST robotics the answer to life, the universe, and everything? - weberr [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 31 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-02-2012, 17:29
h3x h3x is offline
Registered User
no team
 
Join Date: Oct 2011
Location: United States
Posts: 19
h3x is an unknown quantity at this point
[FTC]: PID control questions

My team wants to implement either motor encoder control or PID control into our autonomous for more accurate maneuvering. With the encoders, we would set the number of degrees we want the wheel to turn. But, from what I have seen, PID control would be easier. So does PID just let you run the motors as you would normally, except with a more accurate speed? As in, PID control just adjusts the motor's power to account for other variables that might be slowing it down/speeding it up, no?

This also begs another question. If we enable PID control, and set a motor to 100 power, then how is the PID controller going to give the motor extra power when it needs it? Wouldn't it already be at maximum power? Because if this, it may be necessary to use, say, 95 as the max power of motors, so PID can increase the power.

If we get PID working in autonomous, we might as well enable it in teleop for more consistent control, correct?

Also, I have heard of problems where a robot's motors can slow down to 65% speed in automomous, possibly due to PID control. Has anyone heard of this?

Finally, PID control is just added with the following line, correct?
Code:
nMotorPIDSpeedCtrl[motorX] = mtrSpeedReg;
When the above line is implemented, it should make the standard "turn on motor, wait 3 seconds, turn off motor"-type autonomous movements more accurate, right?

Thanks a lot, an answer to any of these questions will be very helpful.
Reply With Quote
 


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 19:08.

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