50 namespace simple_message
52 namespace motion_reply_message
69 if (!data.
unload(this->reply_))
71 LOG_ERROR(
"Failed to unload MotionReplyMessage data");
91 LOG_COMM(
"Executing MotionReply message load");
92 if (!buffer->
load(this->reply_))
94 LOG_ERROR(
"Failed to load MotionReply message");
103 LOG_COMM(
"Executing MotionReply message unload");
105 if (!buffer->
unload(this->reply_))
107 LOG_ERROR(
"Failed to unload MotionReply message");
MotionReplyMessage(void)
Default constructor.
void setMessageType(int message_type=industrial::simple_message::StandardMsgTypes::INVALID)
void init()
Initializes a empty motion control reply.
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
#define LOG_ERROR(format,...)
bool load(industrial::byte_array::ByteArray *buffer)
void copyFrom(MotionReply &src)
Copies the passed in value.
motoman::simple_message::motion_reply::MotionReply reply_
float data[ROS_MAX_JOINT]
Class encapsulated motion control reply data. These messages are sent by the FS100 controller in resp...
industrial::byte_array::ByteArray & getData()
~MotionReplyMessage(void)
Destructor.
bool unload(industrial::shared_types::shared_bool &value)
void init()
Initializes a new message.
bool unload(industrial::byte_array::ByteArray *buffer)