Skip to content

Commit 6bd1ecd

Browse files
florent-lamirauxolivier-stasse
authored andcommitted
Make error message more explicit.
1 parent 6fb80d8 commit 6bd1ecd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/roscontrol-sot-controller.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@ void RCSotController::localStandbyVelocityControlMode(
10291029
assert(aJoint.getName() == joint_name);
10301030
if (first_time)
10311031
if (verbosity_level_ > 1) {
1032-
ROS_INFO("Control joint %s (id %d) to %f\n", joint_name.c_str(),
1033-
idJoint, aJoint.getPosition());
1032+
ROS_INFO("Velocity control mode: control joint %s (id %d) to %f\n",
1033+
joint_name.c_str(), idJoint, aJoint.getPosition());
10341034
}
10351035
}
10361036
}
@@ -1055,8 +1055,8 @@ void RCSotController::localStandbyPositionControlMode() {
10551055
assert(aJoint.getName() == joint_name);
10561056
if (first_time)
10571057
if (verbosity_level_ > 1) {
1058-
ROS_INFO("Control joint %s (id %d) to %f\n", joint_name.c_str(),
1059-
idJoint, aJoint.getPosition());
1058+
ROS_INFO("Position control mode: control joint %s (id %d) to %f\n",
1059+
joint_name.c_str(), idJoint, aJoint.getPosition());
10601060
}
10611061
}
10621062
}

0 commit comments

Comments
 (0)