Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 2.3 KB

File metadata and controls

38 lines (32 loc) · 2.3 KB

class Pose

Member values

Member name Data type Description
x float32 X position (in meters)
y float32 Y position (in meters)
z float32 Z position (in meters)
theta_x float32 Theta X orientation (in degrees)
theta_y float32 Theta Y orienation (in degrees)
theta_z float32 Theta Z orientation (in degrees)

Member functions

Function name Return type Input type Description
x() float32 void Returns the current value of x. If the x is not set, returns 0.
set_x() void float32 Sets the value of x. After calling this, x() will return value.
clear_x() void void Clears the value of x. After calling this, x() will return 0.
y() float32 void Returns the current value of y. If the y is not set, returns 0.
set_y() void float32 Sets the value of y. After calling this, y() will return value.
clear_y() void void Clears the value of y. After calling this, y() will return 0.
z() float32 void Returns the current value of z. If the z is not set, returns 0.
set_z() void float32 Sets the value of z. After calling this, z() will return value.
clear_z() void void Clears the value of z. After calling this, z() will return 0.
theta_x() float32 void Returns the current value of theta_x. If the theta_x is not set, returns 0.
set_theta_x() void float32 Sets the value of theta_x. After calling this, theta_x() will return value.
clear_theta_x() void void Clears the value of theta_x. After calling this, theta_x() will return 0.
theta_y() float32 void Returns the current value of theta_y. If the theta_y is not set, returns 0.
set_theta_y() void float32 Sets the value of theta_y. After calling this, theta_y() will return value.
clear_theta_y() void void Clears the value of theta_y. After calling this, theta_y() will return 0.
theta_z() float32 void Returns the current value of theta_z. If the theta_z is not set, returns 0.
set_theta_z() void float32 Sets the value of theta_z. After calling this, theta_z() will return value.
clear_theta_z() void void Clears the value of theta_z. After calling this, theta_z() will return 0.

Parent topic: Base (C++)