Commit 6bd1ecdd authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Olivier Stasse
Browse files

Make error message more explicit.

parent 6fb80d85
......@@ -1029,8 +1029,8 @@ void RCSotController::localStandbyVelocityControlMode(
assert(aJoint.getName() == joint_name);
if (first_time)
if (verbosity_level_ > 1) {
ROS_INFO("Control joint %s (id %d) to %f\n", joint_name.c_str(),
idJoint, aJoint.getPosition());
ROS_INFO("Velocity control mode: control joint %s (id %d) to %f\n",
joint_name.c_str(), idJoint, aJoint.getPosition());
}
}
}
......@@ -1055,8 +1055,8 @@ void RCSotController::localStandbyPositionControlMode() {
assert(aJoint.getName() == joint_name);
if (first_time)
if (verbosity_level_ > 1) {
ROS_INFO("Control joint %s (id %d) to %f\n", joint_name.c_str(),
idJoint, aJoint.getPosition());
ROS_INFO("Position control mode: control joint %s (id %d) to %f\n",
joint_name.c_str(), idJoint, aJoint.getPosition());
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment