class JointAngles

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
joint_anglesJointAngleArray of joint angles

Member functions

Function nameReturn typeInput typeDescription
joint_angles_size() constintvoidReturns the number of elements currently in the field.
joint_angles() constconst JointAngleint indexReturns the element at the given zero-based index. Calling this method with index outside of [0, joint_angles_size()) yields undefined behavior.
mutable_joint_angles()JointAngle*int indexReturns a pointer to the mutable JointAngle object that stores the value of the element at the given zero-based index. Calling this method with index outside of [0, joint_angles_size()) yields undefined behavior.
add_joint_angles()JointAngle*voidAdds a new element and returns a pointer to it. The returned JointAngle is mutable and will have none of its fields set (i.e. it will be identical to a newly-allocated JointAngle).
clear_joint_angles()voidvoidRemoves all elements from the field. After calling this, joint_angles_size() will return zero.
joint_angles() constconst RepeatedPtrField< JointAngle>&voidReturns the underlying RepeatedPtrField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_joint_angles()RepeatedPtrField< JointAngle>*voidReturns a pointer to the underlying mutable RepeatedPtrField that stores the field's elements. This container class provides STL-like iterators and other methods.

Parent topic: Base (C++)