50 namespace joint_feedback_message
53 JointFeedbackMessage::JointFeedbackMessage(
void)
58 JointFeedbackMessage::~JointFeedbackMessage(
void)
69 if (data.
unload(this->data_))
75 LOG_ERROR(
"Failed to unload joint feedback message data");
83 this->data_.copyFrom(data);
86 void JointFeedbackMessage::init()
95 LOG_COMM(
"Executing joint feedback message load");
96 if (buffer->
load(this->data_))
103 LOG_ERROR(
"Failed to load joint feedback message data");
111 LOG_COMM(
"Executing joint feedback message unload");
113 if (buffer->
unload(this->data_))
120 LOG_ERROR(
"Failed to unload joint feedback message data");
void init(const M_string &remappings)
Contains platform specific type definitions that guarantee the size of primitive data types...
This class defines a simple messaging protocol for communicating with an industrial robot controller...
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
loads a boolean into the byte array
#define LOG_ERROR(format,...)
The byte array wraps a dynamic array of bytes (i.e. char).
industrial::byte_array::ByteArray & getData()
Returns a reference to the internal data member.
Class encapsulated joint feedback data. This data represents the current state of each robot joint...
bool unload(industrial::shared_types::shared_bool &value)
unloads a boolean value from the byte array