Public Member Functions | Private Attributes | Static Private Attributes
industrial::joint_traj_pt_full_ex::JointTrajPtFullEx Class Reference

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>

Inheritance diagram for industrial::joint_traj_pt_full_ex::JointTrajPtFullEx:
Inheritance graph
[legend]

List of all members.

Public Member Functions

unsigned int byteLength ()
void copyFrom (JointTrajPtFullEx &src)
 Copies the passed in value.
industrial::shared_types::shared_int getMaxGroups ()
 Returns joint trajectory point maximum number of groups.
industrial::shared_types::shared_int getNumGroups ()
 Sets groups_number_ Numbers of group, this sets the amount of control groups connected to the controller.
industrial::shared_types::shared_int getSequence ()
 Returns joint trajectory point sequence number.
void init ()
 Initializes a empty joint trajectory group.
void 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.
 JointTrajPtFullEx (void)
 Default constructor.
bool load (industrial::byte_array::ByteArray *buffer)
bool operator== (JointTrajPtFullEx &rhs)
 == operator implementation
void setMultiJointTrajPtData (std::vector< industrial::joint_traj_pt_full::JointTrajPtFull > joint_trajectory_points)
void setNumGroups (industrial::shared_types::shared_int num_groups)
 Sets num_groups Number of groups attached to the controller.
void setSequence (industrial::shared_types::shared_int sequence)
 Sets joint trajectory point sequence number.
bool unload (industrial::byte_array::ByteArray *buffer)
 ~JointTrajPtFullEx (void)
 Destructor.

Private Attributes

industrial::joint_traj_pt_full::JointTrajPtFull joint_traj_full_sample_
std::vector
< industrial::joint_traj_pt_full::JointTrajPtFull
joint_trajectory_points_
industrial::shared_types::shared_int num_groups_
 number of groups for controllers that support multiple axis-groups
industrial::shared_types::shared_int sequence_
 trajectory sequence number
industrial::shared_types::shared_int valid_fields_from_message_

Static Private Attributes

static const
industrial::shared_types::shared_int 
MAX_NUM_GROUPS = 4

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

Copies the passed in value.

Parameters:
src(value to copy)

Definition at line 88 of file joint_traj_pt_full_ex.cpp.

Returns joint trajectory point maximum number of groups.

Returns:
joint trajectory maximum number of groups

Definition at line 160 of file joint_traj_pt_full_ex.h.

Sets groups_number_ Numbers of group, this sets the amount of control groups connected to the controller.

Parameters:
groups_numbernew groups_number value

Definition at line 134 of file joint_traj_pt_full_ex.h.

Returns joint trajectory point sequence number.

Returns:
joint trajectory 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.

Initializes a complete trajectory group.

bool industrial::joint_traj_pt_full_ex::JointTrajPtFullEx::operator== ( JointTrajPtFullEx rhs)

== operator implementation

Returns:
true if equal

Definition at line 95 of file joint_traj_pt_full_ex.cpp.

Definition at line 139 of file joint_traj_pt_full_ex.h.

Sets num_groups Number of groups attached to the controller.

Parameters:
num_groupsnew num_groups value

Definition at line 122 of file joint_traj_pt_full_ex.h.

Sets joint trajectory point sequence number.

Parameters:
sequencevalue

Definition at line 149 of file joint_traj_pt_full_ex.h.


Member Data Documentation

Definition at line 202 of file joint_traj_pt_full_ex.h.

Definition at line 200 of file joint_traj_pt_full_ex.h.

Definition at line 214 of file joint_traj_pt_full_ex.h.

number of groups for controllers that support multiple axis-groups

Definition at line 206 of file joint_traj_pt_full_ex.h.

trajectory sequence number

Definition at line 210 of file joint_traj_pt_full_ex.h.

Definition at line 212 of file joint_traj_pt_full_ex.h.


The documentation for this class was generated from the following files:


motoman_driver
Author(s): Jeremy Zoss (Southwest Research Institute)
autogenerated on Sat Jun 8 2019 19:06:58