class PreComputedJointTrajectoryElement

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
joint_anglesfloat32Angles values for all joints (in degrees)
joint_speedsfloat32Speed values for all joints (in degrees per second)
joint_accelerationsfloat32Acceleration values for all joints (in degrees per second^2)
time_from_startfloat32Absolute elaspsed time since initial point (in seconds)

Member functions

Function nameReturn typeInput typeDescription
joint_angles_size() constintvoidReturns the number of elements currently in the field.
joint_angles() constintint indexReturns 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()voidvoidRemoves all elements from the field. After calling this, joint_angles_size() will return zero.
joint_angles() constconst RepeatedField<int32>&voidReturns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_angles()RepeatedField<int32>*voidReturns 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() constintvoidReturns the number of elements currently in the field.
joint_speeds() constintint indexReturns 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()voidvoidRemoves all elements from the field. After calling this, joint_speeds_size() will return zero.
joint_speeds() constconst RepeatedField<int32>&voidReturns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_speeds()RepeatedField<int32>*voidReturns 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() constintvoidReturns the number of elements currently in the field.
joint_accelerations() constintint indexReturns 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()voidvoidRemoves all elements from the field. After calling this, joint_accelerations_size() will return zero.
joint_accelerations() constconst RepeatedField<int32>&voidReturns the underlying RepeatedField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_accelerations()RepeatedField<int32>*voidReturns 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()float32voidReturns the current value of time_from_start. If the time_from_start is not set, returns 0.
set_time_from_start()voidfloat32Sets the value of time_from_start. After calling this, time_from_start() will return value.
clear_time_from_start()voidvoidClears the value of time_from_start. After calling this, time_from_start() will return 0.

Parent topic: Base (C++)