Member values
Member name | Data type | Description |
---|---|---|
angular_velocities | float32 | Angular velocities for each actuator (in deg/s) |
linear_velocity | float32 | Linear velocity (in m/s) |
angular_velocity | float32 | Angular velocity (in deg/s) |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
angular_velocities_size() const | int | void | Returns the number of elements currently in the field. |
angular_velocities() const | int | int index | Returns the element at the given zero-based index. Calling this method with index outside of [0, angular_velocities_size()) yields undefined behavior. |
set_angular_velocities() | void | (int index, int32 value) | Sets the value of the element at the given zero-based index. |
add_angular_velocities() | void | (int32 value) | Appends a new element to the field with the given value. |
clear_angular_velocities() | void | void | Removes all elements from the field. After calling this, angular_velocities_size() will return zero. |
angular_velocities() 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_angular_velocities() | 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. |
linear_velocity() | float32 | void | Returns the current value of linear_velocity. If the linear_velocity is not set, returns 0. |
set_linear_velocity() | void | float32 | Sets the value of linear_velocity. After calling this, linear_velocity() will return value. |
clear_linear_velocity() | void | void | Clears the value of linear_velocity. After calling this, linear_velocity() will return 0. |
angular_velocity() | float32 | void | Returns the current value of angular_velocity. If the angular_velocity is not set, returns 0. |
set_angular_velocity() | void | float32 | Sets the value of angular_velocity. After calling this, angular_velocity() will return value. |
clear_angular_velocity() | void | void | Clears the value of angular_velocity. After calling this, angular_velocity() will return 0. |
Parent topic: Base (C++)