|
Re: Using speed PID controlled mecanum with Holonomic Drive.vi
Quote:
Originally Posted by GuyM142
I know that, but I need help with adding PID control to normal controllers because the only examples I have seen use CAN.
|
You take the motor setting outputs from the Holonomic VI and multiply them by the max rpm value you will see from your encoders. Then wire the setting into the PID VI "set point" and the encoder rpm value into "process variable". The output range should be 1 to -1.
__________________
---------------------
Alumni, CAD Designer, machinist, and Mentor: FRC Team #4080
Mentor: Rookie FTC Team "EVE" #10458, FRC Team "Drewbotics" #5812
#banthebag
#RIBMEATS
#1620
|