51 namespace robot_program_executor
66 ROS_ERROR(
"Failed to send EXECUTE_PROGRAM command");
71 result = (reply.
getResultCode() == ExecuteProgramReplyResults::SUCCESS);
88 execute_program.
init(ss_name, ss_param);
89 execute_program_msg.
init(execute_program);
94 ROS_ERROR(
"Failed to send RobotProgram message");
98 execute_program_reply_msg.
init(res);
void init()
Initializes a empty execute program command.
SmplMsgConnection * connection_
industrial::shared_types::shared_int getResultCode() const
Returns the result code.
Enumeration of execute program reply result codes.
void copyFrom(ExecuteProgramReply &src)
Copies the passed in value.
virtual bool toRequest(industrial::simple_message::SimpleMessage &msg)
bool sendAndReceiveMsg(industrial::simple_message::SimpleMessage &send, industrial::simple_message::SimpleMessage &recv, bool verbose=false)
bool init(industrial::simple_message::SimpleMessage &msg)
Initializes message from a simple message.
Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response ...
fsrobo_r_driver::simple_message::execute_program_reply::ExecuteProgramReply reply_
Class encapsulated FSRobo-R set io reply message generation methods (either to or from a industrial::...
bool init(industrial::simple_message::SimpleMessage &msg)
Initializes message from a simple message.
bool init(SmplMsgConnection *connection)
bool execute(std::string name, std::string param, bool &result)
Execute robot program on the controller.
void init()
Initializes a empty motion control reply.
bool sendAndReceive(std::string name, std::string param, ExecuteProgramReply &reply)
Class encapsulated set io reply data. These messages are sent by the FSRobo-R controller in response ...
Class encapsulated write single io data. FSRobo-R specific interface to set IO element on the control...
Class encapsulated FSRobo-R set io message generation methods (either to or from a industrial::simple...