|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
||||
|
||||
|
Re: Velocity PID control and setpoint ramping
Quote:
Code:
if(commandedSetpoint < some value that is close to 0) {
yourSubsystem.getPIDController().setPID(small kP, kI, kD);
} else {
yourSubsystem.getPIDController().setPID(normal kP, kI, kD);
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|