33 #include "industrial_msgs/RobotStatus.h"
44 namespace robot_status_relay_handler
49 this->pub_robot_status_ = this->node_.advertise<industrial_msgs::RobotStatus>(
"robot_status", 1);
50 return init((
int)StandardMsgTypes::STATUS, connection);
57 if (!status_msg.
init(in))
59 LOG_ERROR(
"Failed to initialize status message");
63 return internalCB(status_msg);
68 industrial_msgs::RobotStatus status;
80 this->pub_robot_status_.publish(status);
86 in.
toReply(reply, rtn ? ReplyTypes::SUCCESS : ReplyTypes::FAILURE);
87 this->getConnection()->sendMsg(reply);