bool getJoint(industrial::shared_types::shared_int index, industrial::shared_types::shared_real &value) const
Gets a joint value within the buffer.
Class encapsulated joint data (positions, accelerations, velocity, torque, and/or effort).
~JointData(void)
Destructor.
bool unload(industrial::byte_array::ByteArray *buffer)
Virtual method for unloading an object from a ByteArray.
JointData(void)
Default constructor.
industrial::shared_types::shared_real joints_[MAX_NUM_JOINTS]
internal data buffer
bool operator==(JointData &rhs)
== operator implementation
unsigned int byteLength()
Virtual method returns the object size when packed into a ByteArray.
bool load(industrial::byte_array::ByteArray *buffer)
Virtual method for loading an object into a ByteArray.
The byte array wraps a dynamic array of bytes (i.e. char).
static const industrial::shared_types::shared_int MAX_NUM_JOINTS
maximum number of joints positions that can be held in the message.
void init()
Initializes a empty joint data.
Interface for loading and unloading a class to/from a ByteArray.
int getMaxNumJoints() const
returns the maximum number of joints the message holds
void copyFrom(JointData &src)
Copies the passed in value.
bool setJoint(industrial::shared_types::shared_int index, industrial::shared_types::shared_real value)
Sets a joint value within the buffer.
simple_message
Author(s): Shaun Edwards
autogenerated on Wed Mar 2 2022 00:24:53