Class encapsulated joint trajectory point data. The point data serves as a waypoint along a trajectory and is meant to mirror the JointTrajectoryPoint message. More...
#include <joint_traj_pt_full_ex.h>
Class encapsulated joint trajectory point data. The point data serves as a waypoint along a trajectory and is meant to mirror the JointTrajectoryPoint message.
This class is similar to the simple_message joint_traj_pt class, but this class provides the full message contents directly to the robot controller, rather than simplifying the velocity duration.
The message data-packet byte representation is as follows (ordered lowest index to highest). The standard sizes are given, but can change based on type sizes:
member: type size num_groups (industrial::shared_types::shared_int) 4 bytes sequence (industrial::shared_types::shared_int) 4 bytes multiJointTrajData JointTrajPtData[]
THIS CLASS IS NOT THREAD-SAFE
Definition at line 86 of file joint_traj_pt_full_ex.h.
Default constructor.
This method creates empty data.
Definition at line 56 of file joint_traj_pt_full_ex.cpp.
Destructor.
Definition at line 60 of file joint_traj_pt_full_ex.cpp.
unsigned int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::byteLength | ( | ) | [inline, virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 194 of file joint_traj_pt_full_ex.h.
Copies the passed in value.
src | (value to copy) |
Definition at line 88 of file joint_traj_pt_full_ex.cpp.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::getMaxGroups | ( | ) | [inline] |
Returns joint trajectory point maximum number of groups.
Definition at line 160 of file joint_traj_pt_full_ex.h.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::getNumGroups | ( | ) | [inline] |
Sets groups_number_ Numbers of group, this sets the amount of control groups connected to the controller.
groups_number | new groups_number value |
Definition at line 134 of file joint_traj_pt_full_ex.h.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::getSequence | ( | ) | [inline] |
Returns joint trajectory point sequence number.
Definition at line 171 of file joint_traj_pt_full_ex.h.
Initializes a empty joint trajectory group.
Definition at line 64 of file joint_traj_pt_full_ex.cpp.
void industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::init | ( | industrial::shared_types::shared_int | num_groups, |
industrial::shared_types::shared_int | sequence, | ||
std::vector< industrial::joint_traj_pt_full::JointTrajPtFull > | joint_trajectory_points | ||
) |
Initializes a complete trajectory group.
bool industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 101 of file joint_traj_pt_full_ex.cpp.
bool industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::operator== | ( | JointTrajPtFullEx & | rhs | ) |
== operator implementation
Definition at line 95 of file joint_traj_pt_full_ex.cpp.
void industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::setMultiJointTrajPtData | ( | std::vector< industrial::joint_traj_pt_full::JointTrajPtFull > | joint_trajectory_points | ) | [inline] |
Definition at line 139 of file joint_traj_pt_full_ex.h.
void industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::setNumGroups | ( | industrial::shared_types::shared_int | num_groups | ) | [inline] |
Sets num_groups Number of groups attached to the controller.
num_groups | new num_groups value |
Definition at line 122 of file joint_traj_pt_full_ex.h.
void industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::setSequence | ( | industrial::shared_types::shared_int | sequence | ) | [inline] |
Sets joint trajectory point sequence number.
sequence | value |
Definition at line 149 of file joint_traj_pt_full_ex.h.
bool industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 205 of file joint_traj_pt_full_ex.cpp.
industrial::joint_traj_pt_full::JointTrajPtFull industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::joint_traj_full_sample_ [private] |
Definition at line 202 of file joint_traj_pt_full_ex.h.
std::vector<industrial::joint_traj_pt_full::JointTrajPtFull> industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::joint_trajectory_points_ [private] |
Definition at line 200 of file joint_traj_pt_full_ex.h.
const industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::MAX_NUM_GROUPS = 4 [static, private] |
Definition at line 214 of file joint_traj_pt_full_ex.h.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::num_groups_ [private] |
number of groups for controllers that support multiple axis-groups
Definition at line 206 of file joint_traj_pt_full_ex.h.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::sequence_ [private] |
trajectory sequence number
Definition at line 210 of file joint_traj_pt_full_ex.h.
industrial::shared_types::shared_int industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::valid_fields_from_message_ [private] |
Definition at line 212 of file joint_traj_pt_full_ex.h.