Go to the documentation of this file.
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");
Class encapsulated joint feedback data. This data represents the current state of each robot joint,...
Contains platform specific type definitions that guarantee the size of primitive data types.
bool unload(industrial::shared_types::shared_bool &value)
unloads a boolean value from the byte array
industrial::byte_array::ByteArray & getData()
Returns a reference to the internal data member.
#define LOG_ERROR(format,...)
This class defines a simple messaging protocol for communicating with an industrial robot controller.
The byte array wraps a dynamic array of bytes (i.e. char).
#define LOG_COMM(format,...)
bool load(industrial::shared_types::shared_bool value)
loads a boolean into the byte array
void init(const M_string &remappings)
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53