|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: WPILib Mecanum Drive, PID and drift
Quote:
Thank you for the source code link! As I understand the PIDController class, the output (Joystick class) must have a PIDOutput member or derived from that class. Joystick has neither. How would you implement that? |
|
#2
|
|||
|
|||
|
Re: WPILib Mecanum Drive, PID and drift
Quote:
My team also has drift when strafing and we're trying to correct it with PID loops using encoders as the input, but selecting gains, etc is difficult expecially if you do not have extended periods of time with the robot to test (because other people are working on it). Last edited by FleventyFive : 08-02-2015 at 18:22. Reason: to sound not like nigerian |
|
#3
|
||||
|
||||
|
Re: WPILib Mecanum Drive, PID and drift
Thanks to everyone for the help. We have some things to check out tomorrow.
|
|
#4
|
|||
|
|||
|
Re: WPILib Mecanum Drive, PID and drift
Create a class implementing PIDOutput that does what you want.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|