#include <uwsc-mission-coordinator-module.h>
UwMissionCoordinatorModule class is used to manage AUV followers and to collect statistics about them.
Definition at line 53 of file uwsc-mission-coordinator-module.h.
◆ AUV_stats
AUV_stats describes statistics about the AUV follower.
It also contains ids of respectively the UwROV controller and UwTracker receiver module installed in the AUV leader.
◆ Mine
Mine describes a mine by its position and state.
◆ UwMissionCoordinatorModule()
UwMissionCoordinatorModule::UwMissionCoordinatorModule |
( |
| ) |
|
◆ ~UwMissionCoordinatorModule()
virtual UwMissionCoordinatorModule::~UwMissionCoordinatorModule |
( |
| ) |
|
|
virtualdefault |
◆ command()
int UwMissionCoordinatorModule::command |
( |
int |
argc, |
|
|
const char *const * |
argv |
|
) |
| |
|
overridevirtual |
TCL command interpreter.
It implements the following OTcl methods:
- Parameters
-
argc | Number of arguments in argv. |
argv | Array of strings which are the command parameters (Note that argv[0] is the name of the object). |
- Returns
- TCL_OK or TCL_ERROR whether the command has been dispatched successfully or not.
Definition at line 76 of file uwsc-mission-coordinator-module.cc.
◆ isTracked()
bool UwMissionCoordinatorModule::isTracked |
( |
Position * |
p | ) |
const |
|
protected |
Check if the mine at received position is already tracked.
- Parameters
-
Position* | Pointer to mine position |
- Returns
- bool True if the mine is already tracked false otherwise
Definition at line 253 of file uwsc-mission-coordinator-module.cc.
◆ recvSyncClMsg()
int UwMissionCoordinatorModule::recvSyncClMsg |
( |
ClMessage * |
m | ) |
|
|
overridevirtual |
Recv syncronous cross layer messages to require an operation from another module.
- Parameters
-
m | Pointer cross layer message |
- Returns
- zero if successful
Definition at line 104 of file uwsc-mission-coordinator-module.cc.
◆ removeMine()
void UwMissionCoordinatorModule::removeMine |
( |
int |
id | ) |
|
|
protected |
Send a signal to the AUV follower to inform it, that the mine it is detecting is removed.
- Parameters
-
int | ID of the ROV sent to detect the mine |
Definition at line 221 of file uwsc-mission-coordinator-module.cc.
◆ auv_follower
std::vector<AUV_stats> UwMissionCoordinatorModule::auv_follower |
|
protected |
The documentation for this class was generated from the following files: