#include <order_daemon.h>
Public Member Functions | |
| AGVPosition () | |
| float | getTheta () |
| float | nodeDistance (float node_x, float node_y) |
| void | updatePosition (float new_x, float new_y, float new_theta, string new_mapId) |
Private Attributes | |
| string | mapId |
| float | theta |
| float | x |
| float | y |
Current position of the AGV in map coordinates.
Definition at line 174 of file order_daemon.h.
| AGVPosition::AGVPosition | ( | ) |
Constructor for AGV position objects.
Definition at line 185 of file order_daemon.cpp.
| float AGVPosition::getTheta | ( | ) |
| float AGVPosition::nodeDistance | ( | float | node_x, |
| float | node_y | ||
| ) |
Computes the distance to the next node.
| node_x | x position of the next node. |
| node_y | y position of the next node. |
Definition at line 201 of file order_daemon.cpp.
| void AGVPosition::updatePosition | ( | float | new_x, |
| float | new_y, | ||
| float | new_theta, | ||
| string | new_mapId | ||
| ) |
Updates last position data to new position.
| new_x | New value for x coordinate. |
| new_y | New value for y coordinate. |
| new_theta | New value for angle theta. |
| new_mapId | New map ID. |
Definition at line 193 of file order_daemon.cpp.
|
private |
Map ID of the current map.
Definition at line 186 of file order_daemon.h.
|
private |
theta angle in world coordinates.
Definition at line 183 of file order_daemon.h.
|
private |
x position in map coordinates.
Definition at line 177 of file order_daemon.h.
|
private |
y position in world coordinates.
Definition at line 180 of file order_daemon.h.