Defines a robot position in cartesian coordinates and an angle of rotation. More...
#include <state_data.h>
Public Member Functions | |
RobotState () | |
Sets a robot in (0,0) oriented as zero angle. More... | |
RobotState (double x, double y, double theta) | |
void | update (double d_x, double d_y, double d_theta) |
Public Attributes | |
double | theta |
The position of robot. More... | |
double | x |
double | y |
Defines a robot position in cartesian coordinates and an angle of rotation.
Definition at line 14 of file state_data.h.
|
inline |
Sets a robot in (0,0) oriented as zero angle.
Definition at line 18 of file state_data.h.
|
inline |
Initializes a state of a robot with given parameters.
x,y,theta | The position and the orientation of a robot. |
Definition at line 24 of file state_data.h.
|
inline |
Updates the state of a robot by the given deltas.
d_x,d_y,d_theta | Delta of the position of a robot. |
Definition at line 30 of file state_data.h.
double RobotState::theta |
The position of robot.
Definition at line 38 of file state_data.h.
double RobotState::x |
Definition at line 38 of file state_data.h.
double RobotState::y |
Definition at line 38 of file state_data.h.