|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#7
|
||||
|
||||
|
Re: Encoders, Mecanum, and PID
Feedforward is implemented in the PIDController class you are using now, see WPILib screensteps
It's a direct scaling factor between setpoint units and and output variable which for a motor controller is [-1, 1]. So if your max speed is N in encoder units then set the feedforward term to 1/N. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|