|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: PID Velocity Control
Quote:
|
|
#2
|
|||
|
|||
|
Re: PID Velocity Control
Didn't work. I tested it at 1/4 voltage and the value I was getting from the encoder was jumping from 2.6 max to 1.8 min. Is there any way to average that number and stay in the middle? I've been our programmer for 3 years but I'm new to advanced programming techniques.
|
|
#3
|
|||
|
|||
|
Re: PID Velocity Control
Alright I think I found the problem. I changed the Decoding Rate in the begin from 4x to 2x. That dropped the variation from +-.5 to +-.05 . I'm going to try 1x now and see what it looks like.
|
|
#4
|
||||
|
||||
|
Re: PID Velocity Control
What "didn't work" ?? There's no context available for disambiguation.
Last edited by Ether : 15-02-2012 at 21:03. |
|
#5
|
|||
|
|||
|
Re: PID Velocity Control
Doing the delta counts didn't fix the problem which was the jumpyness of the encoder values at a constant voltage. I think that properly tuned I could negate the effects of that variation.
|
|
#6
|
||||
|
||||
|
Re: PID Velocity Control
Quote:
|
|
#7
|
|||
|
|||
|
Re: PID Velocity Control
(I just took the delta counts so I'd say it's RPS not RPM) But I tried everywhere between .5 RPS and 5 RPS and the variance is still the same. I want to say it has something to do with the rate TeleOp runs but I don't know.
|
|
#8
|
||||
|
||||
|
Re: PID Velocity Control
Quote:
Is this for a shooter wheel or something else? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|