57 namespace robot_configurator
70 ROS_ERROR(
"Failed to send SET_POSTURE command");
84 req_body.
init(posture);
85 req_msg.
init(req_body);
90 ROS_ERROR(
"Failed to send SET_POSTURE message");
104 ROS_ERROR(
"Failed to send GET_POSTURE command");
119 req_msg.
init(rep_body);
124 ROS_ERROR(
"Failed to send GET_POSTURE message");
139 ROS_ERROR(
"Failed to send SET_TOOL_OFFSET command");
153 req_body.
init(x, y, z, rz, ry, rx);
154 req_msg.
init(req_body);
159 ROS_ERROR(
"Failed to send SET_TOOL_OFFSET message");
bool init(industrial::simple_message::SimpleMessage &msg)
Initializes message from a simple message.
bool getPosture(industrial::shared_types::shared_int &posture, bool &result)
Get posture on the controller.
ReplyTypes::ReplyType ReplyType
Class encapsulated FSRobo-R set posture reply message generation methods (either to or from a industr...
virtual bool toRequest(industrial::simple_message::SimpleMessage &msg)
bool sendAndReceiveSetToolOffsetMsg(industrial::shared_types::shared_real x, industrial::shared_types::shared_real y, industrial::shared_types::shared_real z, industrial::shared_types::shared_real rz, industrial::shared_types::shared_real ry, industrial::shared_types::shared_real rx, bool &result)
industrial::shared_types::shared_int getPosture()
Returns the posture.
Class encapsulated posture data. FSRobo-R specific interface to posture on the controller.
bool setToolOffset(industrial::shared_types::shared_real x, industrial::shared_types::shared_real y, industrial::shared_types::shared_real z, industrial::shared_types::shared_real rz, industrial::shared_types::shared_real ry, industrial::shared_types::shared_real rx, bool &result)
Set tool offset on the controller.
bool init(industrial::simple_message::SimpleMessage &msg)
Initializes message from a simple message.
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 FSRobo-R set posture message generation methods (either to or from a industrial::s...
Class encapsulated FSRobo-R get posture message generation methods (either to or from a industrial::s...
void init()
Initializes a empty posture command.
bool setPosture(industrial::shared_types::shared_int posture, bool &result)
Set posture on the controller.
bool sendAndReceiveSetPostureMsg(industrial::shared_types::shared_int posture, bool &result)
bool init(industrial::simple_message::SimpleMessage &msg)
Initializes message from a simple message.
SmplMsgConnection * connection_
Class encapsulated FSRobo-R get posture reply message generation methods (either to or from a industr...
fsrobo_r_driver::simple_message::posture::Posture reply_
bool sendAndReceiveGetPostureMsg(industrial::shared_types::shared_int &posture, bool &result)
bool init(SmplMsgConnection *connection)