#include <uwPosEstimation.h>
◆ UwPosEstimation()
| UwPosEstimation::UwPosEstimation |
( |
| ) |
|
◆ ~UwPosEstimation()
| UwPosEstimation::~UwPosEstimation |
( |
| ) |
|
|
virtual |
◆ getDest()
| Position UwPosEstimation::getDest |
( |
| ) |
|
|
virtual |
Get destination of last update
References destPos.
◆ getEstimatePos()
| Position UwPosEstimation::getEstimatePos |
( |
double |
time | ) |
|
|
virtual |
◆ getInitPos()
| Position UwPosEstimation::getInitPos |
( |
| ) |
|
|
virtual |
Get itnitial position of last update
References initialPos.
◆ getSpeed()
| double UwPosEstimation::getSpeed |
( |
| ) |
|
|
virtual |
Get speed of the node
References speed.
◆ getTimestamp()
| double UwPosEstimation::getTimestamp |
( |
| ) |
|
|
virtual |
Get time of last update
References timestamp.
◆ nodesDistance()
| double UwPosEstimation::nodesDistance |
( |
Position & |
p1, |
|
|
Position & |
p2 |
|
) |
| |
|
privatevirtual |
Compute absoulute distance between 2 nodes
- Parameters
-
| Position | position first node. |
| Position | position second node. |
Referenced by getEstimatePos().
◆ update()
| void UwPosEstimation::update |
( |
Position |
newInitPos, |
|
|
Position |
newDest, |
|
|
double |
newTime, |
|
|
double |
newSpeed |
|
) |
| |
|
virtual |
Update initial position, destination, time of last update
- Parameters
-
| Position | new initial position |
| Position | new destination |
| double | time of update |
| double | speed of the node |
References destPos, initialPos, speed, and timestamp.
◆ destPos
| Position UwPosEstimation::destPos |
|
private |
◆ initialPos
| Position UwPosEstimation::initialPos |
|
private |
◆ speed
| double UwPosEstimation::speed |
|
private |
◆ timestamp
| double UwPosEstimation::timestamp |
|
private |
The documentation for this class was generated from the following files: