- Member controller::PlainPid::updatePid (double p_error, ros::Duration dt)
- in ROS Hydro. This function assumes
p_error = (state - target)
which is an unconventional definition of the error. Please use computeCommand instead, which assumes error = (target - state)
. Note that calls to computeCommand should not be mixed with calls to updatePid.
- Member controller::PlainPid::updatePid (double error, double error_dot, ros::Duration dt)
- in ROS Hydro. This function assumes
p_error = (state - target)
which is an unconventional definition of the error. Please use computeCommand instead, which assumes error = (target - state)
. Note that calls to computeCommand should not be mixed with calls to updatePid.