#include <IInterloc.h>
◆ getPositionsTable()
Returns the position table for all robots in the swarm.
- Returns
- The position table
Implemented in Interloc.
◆ getRobotPosition()
virtual std::optional<RelativePosition> IInterloc::getRobotPosition |
( |
uint16_t |
robotId | ) |
const |
|
pure virtual |
Returns the last known relative position of a given robot.
- Parameters
-
robotId | The ID of the robot to get the position |
- Returns
- The relative position of the robot
Implemented in Interloc.
◆ isLineOfSight()
virtual bool IInterloc::isLineOfSight |
( |
uint16_t |
robotId | ) |
const |
|
pure virtual |
Tells if a robot is in line of sight.
- Parameters
-
robotId | The ID of the robot to get |
- Returns
- Is in line of sight
Implemented in Interloc.
◆ process()
virtual void IInterloc::process |
( |
| ) |
|
|
pure virtual |
Spins the interloc task checking if any updates happened. Processing them and pushing update values to the output queue.
Implemented in Interloc.
The documentation for this class was generated from the following file: