Closed liborw closed 9 years ago
Sorry, I was refering to the RobotStatus
(fixed in the title), published also by robot_state
at least for the motoman robot.
industrial_robot_client/robot_status_relay_handler.cpp, lines 68 to 79:
...
industrial_msgs::RobotStatus status;
bool rtn = true;
status.drives_powered.val = TriStates::toROSMsgEnum(in.status_.getDrivesPowered());
status.e_stopped.val = TriStates::toROSMsgEnum(in.status_.getEStopped());
status.error_code = in.status_.getErrorCode();
status.in_error.val = TriStates::toROSMsgEnum(in.status_.getInError());
status.in_motion.val = TriStates::toROSMsgEnum(in.status_.getInMotion());
status.mode.val = RobotModes::toROSMsgEnum(in.status_.getMode());
status.motion_possible.val = TriStates::toROSMsgEnum(in.status_.getMotionPossible());
this->pub_robot_status_.publish(status);
...
Hm, this has been fixed with the merge of #98. Somehow github didn't automatically close the issue.
Are you refering to the
JointState
messages published by the genericrobot_state
node inindustrial_robot_client
, or something else?From what I can gather from industrial_robot_client/joint_relay_handler.cpp, lines 137 to 141, the
header.stamp
field is assigned a value.