Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
roscontrol_sot
Commits
6bd1ecdd
Commit
6bd1ecdd
authored
Jul 01, 2021
by
Florent Lamiraux
Committed by
Olivier Stasse
Jul 01, 2021
Browse files
Make error message more explicit.
parent
6fb80d85
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/roscontrol-sot-controller.cpp
View file @
6bd1ecdd
...
...
@@ -1029,8 +1029,8 @@ void RCSotController::localStandbyVelocityControlMode(
assert
(
aJoint
.
getName
()
==
joint_name
);
if
(
first_time
)
if
(
verbosity_level_
>
1
)
{
ROS_INFO
(
"
C
ontrol joint %s (id %d) to %f
\n
"
,
joint_name
.
c_str
(),
idJoint
,
aJoint
.
getPosition
());
ROS_INFO
(
"
Velocity control mode: c
ontrol 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
(
"
C
ontrol joint %s (id %d) to %f
\n
"
,
joint_name
.
c_str
(),
idJoint
,
aJoint
.
getPosition
());
ROS_INFO
(
"
Position control mode: c
ontrol joint %s (id %d) to %f
\n
"
,
joint_name
.
c_str
(),
idJoint
,
aJoint
.
getPosition
());
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment