Skip to content

Commit

Permalink
Merge pull request ros-industrial#98 from liborw/patch-1
Browse files Browse the repository at this point in the history
Fill stamp of the RobotStatus message Fix: ros-industrial#97
  • Loading branch information
gavanderhoorn committed Jan 16, 2015
2 parents 612eabc + 22cc039 commit 14e2f16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions industrial_robot_client/src/robot_status_relay_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ bool RobotStatusRelayHandler::internalCB(RobotStatusMessage & in)
industrial_msgs::RobotStatus status;
bool rtn = true;

status.header.stamp = ros::Time::now();
status.drives_powered.val = TriStates::toROSMsgEnum(in.status_.getDrivesPowered());
status.e_stopped.val = TriStates::toROSMsgEnum(in.status_.getEStopped());
status.error_code = in.status_.getErrorCode();
Expand Down

0 comments on commit 14e2f16

Please sign in to comment.