Skip to content

Commit

Permalink
[HrpsysSeqStateROSBridge.cpp] add warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoki-Hiraoka committed Apr 17, 2022
1 parent 298bb42 commit 7137679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrpsys_ros_bridge/src/HrpsysSeqStateROSBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ void HrpsysSeqStateROSBridge::onJointTrajectory(trajectory_msgs::JointTrajectory
for (unsigned int j=0; j < trajectory.joint_names.size(); j++ ) {
hrp::Link* l = body->link(joint_names[j]);
if(l) l->q = point.positions[j];
else ROS_WARN_STREAM_ONCE("[" << getInstanceName() << "] @onJointTrajectoryAction : joint named " << joint_names[j] << " is not found. Skipping ...");
}

body->calcForwardKinematics();
Expand Down

0 comments on commit 7137679

Please sign in to comment.