|
Re: PID Controller class not calculating output value
Hello!
Without looking at the actual code, I am going to make a guess...but could you post the code in question? I am assuming that you are using a PIDController object.
Did you enable the PIDController object? The API has an enable method and a disable method so that you can turn the controller on and off. It is not enabled by default. When the operator lets go of the button, enable the controller; disable it when the button gets pressed so that the lift can move to a new position. Or, alternatively, you can have another button that sets a predetermined setpoint so that this new button starts automatically taking the lift to a new position.
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
|