I have a question on the behaviour of vel_integrator_torque
when input_pos
is updated when doing position closed loop control in the passthrough input mode.
Does updating the input leave the vel_integrator_torque
at the same value or does it cause it to be rest to 0?
We have to move the motor a fixed amount in two directions. To get to the correct value at position A and hold it at steady state, the vel_integrator_torque
is positive. To get to the correct value at position B and hold it at steady state, the vel_integrator_torque
is negative. When I change the input to position B, does the vel_integrator_torque
have to be unwound all the way from its A value to its B value, or does changing the position mean it only needs to unwound from 0 to its B value?