Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 4.21 KB

File metadata and controls

42 lines (36 loc) · 4.21 KB

class PreComputedJointTrajectoryElement

Member values

Member name Data type Description
joint_angles float32 Angles values for all joints (in degrees)
joint_speeds float32 Speed values for all joints (in degrees per second)
joint_accelerations float32 Acceleration values for all joints (in degrees per second^2)
time_from_start float32 Absolute elaspsed time since initial point (in seconds)

Member functions

Function name Return type Input type Description
joint_angles_size() const int void Returns the number of elements currently in the field.
joint_angles() const int int index Returns the element at the given zero-based index. Calling this method with index outside of [0, joint_angles_size()) yields undefined behavior.
set_joint_angles() void (int index, int32 value) Sets the value of the element at the given zero-based index.
add_joint_angles() void (int32 value) Appends a new element to the field with the given value.
clear_joint_angles() void void Removes all elements from the field. After calling this, joint_angles_size() will return zero.
joint_angles() const const RepeatedField<int32>& void Returns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_angles() RepeatedField<int32>* void Returns a pointer to the underlying mutable RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
joint_speeds_size() const int void Returns the number of elements currently in the field.
joint_speeds() const int int index Returns the element at the given zero-based index. Calling this method with index outside of [0, joint_speeds_size()) yields undefined behavior.
set_joint_speeds() void (int index, int32 value) Sets the value of the element at the given zero-based index.
add_joint_speeds() void (int32 value) Appends a new element to the field with the given value.
clear_joint_speeds() void void Removes all elements from the field. After calling this, joint_speeds_size() will return zero.
joint_speeds() const const RepeatedField<int32>& void Returns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_speeds() RepeatedField<int32>* void Returns a pointer to the underlying mutable RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
joint_accelerations_size() const int void Returns the number of elements currently in the field.
joint_accelerations() const int int index Returns the element at the given zero-based index. Calling this method with index outside of [0, joint_accelerations_size()) yields undefined behavior.
set_joint_accelerations() void (int index, int32 value) Sets the value of the element at the given zero-based index.
add_joint_accelerations() void (int32 value) Appends a new element to the field with the given value.
clear_joint_accelerations() void void Removes all elements from the field. After calling this, joint_accelerations_size() will return zero.
joint_accelerations() const const RepeatedField<int32>& void Returns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_accelerations() RepeatedField<int32>* void Returns a pointer to the underlying mutable RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
time_from_start() float32 void Returns the current value of time_from_start. If the time_from_start is not set, returns 0.
set_time_from_start() void float32 Sets the value of time_from_start. After calling this, time_from_start() will return value.
clear_time_from_start() void void Clears the value of time_from_start. After calling this, time_from_start() will return 0.

Parent topic: Base (C++)