|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: [FTC]: PID Control in Robot C
Quote:
PID wouldn't help much, from what I can tell. What you do is - when your arm or whatever thing is in the down position, set the encoder to 0, then when you press the button, have it move forward till the encoder click you want and tell it to stop. I think that's how it works. I'm a hardware guy, so don't take my word for it. Email one of our coders at info@say-watt.org. |
|
#2
|
|||||
|
|||||
|
Re: [FTC]: PID Control in Robot C
Quote:
|
|
#3
|
||||
|
||||
|
Re: [FTC]: PID Control in Robot C
Okay - one of our programmers thinks he understands the problem.
When you stop the motor at the encoder click you want, you have to keep setting the power to 0 in an infinite loop. If you just set it once and stop, it won't continue to send power, thus making it fall. ...Next time i'll just ask him in the first place. ![]() Last edited by normalmutant : 23-02-2011 at 20:39. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|