class JointSpeedSoftLimits

February 26, 2020 ยท View on GitHub

Member values

Member nameData typeDescription
control_modeuint32Control mode
joint_speed_soft_limitsfloat32Software joint speed limits

Member functions

Function nameReturn typeInput typeDescription
control_mode() constuint32voidReturns the current value of control_mode. If the control_mode is not set, returns 0.
set_control_mode()voiduint32Sets the value of control_mode. After calling this, control_mode() will return value.
clear_control_mode()voidvoidClears the value of control_mode. After calling this, control_mode() will return the empty string/empty bytes.
joint_speed_soft_limits_size() constintvoidReturns the number of elements currently in the field.
joint_speed_soft_limits() constintint indexReturns the element at the given zero-based index. Calling this method with index outside of [0, joint_speed_soft_limits_size()) yields undefined behavior.
set_joint_speed_soft_limits()void(int index, int32 value)Sets the value of the element at the given zero-based index.
add_joint_speed_soft_limits()void(int32 value)Appends a new element to the field with the given value.
clear_joint_speed_soft_limits()voidvoidRemoves all elements from the field. After calling this, joint_speed_soft_limits_size() will return zero.
joint_speed_soft_limits() 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_speed_soft_limits()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.

Parent topic: ControlConfig (C++)