class GravityVector

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
xfloat32x (meters / second^squared)
yfloat32y (meters / second^squared)
zfloat32z (meters / second^squared)

Member functions

Function nameReturn typeInput typeDescription
x()float32voidReturns the current value of x. If the x is not set, returns 0.
set_x()voidfloat32Sets the value of x. After calling this, x() will return value.
clear_x()voidvoidClears the value of x. After calling this, x() will return 0.
y()float32voidReturns the current value of y. If the y is not set, returns 0.
set_y()voidfloat32Sets the value of y. After calling this, y() will return value.
clear_y()voidvoidClears the value of y. After calling this, y() will return 0.
z()float32voidReturns the current value of z. If the z is not set, returns 0.
set_z()voidfloat32Sets the value of z. After calling this, z() will return value.
clear_z()voidvoidClears the value of z. After calling this, z() will return 0.

Parent topic: ControlConfig (C++)