DESERT 3.5.1
Loading...
Searching...
No Matches
uwrov-module.h File Reference
#include <uwcbr-module.h>
#include <uwrov-packet.h>
#include "uwsmposition.h"
#include <queue>
#include <fstream>
Include dependency graph for uwrov-module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UwROVSendAckTimer
 
class  UwROVModule
 

Macros

#define UWROV_DROP_REASON_UNKNOWN_TYPE   "UKT"
 
#define UWROV_DROP_REASON_OUT_OF_SEQUENCE   "OOS"
 
#define UWROV_DROP_REASON_DUPLICATED_PACKET   "DPK"
 
#define HDR_UWROV_MONITORING(p)   (hdr_uwROV_monitoring::access(p))
 
#define HDR_UWROV_CTR(p)   (hdr_uwROV_ctr::access(p))
 

Detailed Description

Provides the definition of the class UWROV.

Author
Filippo Campagnaro
Version
1.0.0

Provides the definition of the class UWROV, based on UwCbr. UWROV can manage no more than 2^16 packets. If a module generates more than 2^16 packets, they will be dropped, according with UwCbr. UWROV sends periodically monitoring packets containing information about the current position and acknowledges the last control packet received. Each control packet contains the next waypoint that has to be reach.

Definition in file uwrov-module.h.

Macro Definition Documentation

◆ HDR_UWROV_CTR

#define HDR_UWROV_CTR (   p)    (hdr_uwROV_ctr::access(p))

Definition at line 55 of file uwrov-module.h.

◆ HDR_UWROV_MONITORING

#define HDR_UWROV_MONITORING (   p)    (hdr_uwROV_monitoring::access(p))

Definition at line 54 of file uwrov-module.h.

◆ UWROV_DROP_REASON_DUPLICATED_PACKET

#define UWROV_DROP_REASON_DUPLICATED_PACKET   "DPK"

Reason for a drop in a UWROV module.

Definition at line 53 of file uwrov-module.h.

◆ UWROV_DROP_REASON_OUT_OF_SEQUENCE

#define UWROV_DROP_REASON_OUT_OF_SEQUENCE   "OOS"

Reason for a drop in a UWROV module.

Definition at line 52 of file uwrov-module.h.

◆ UWROV_DROP_REASON_UNKNOWN_TYPE

#define UWROV_DROP_REASON_UNKNOWN_TYPE   "UKT"

Reason for a drop in a UWROV module.

Definition at line 51 of file uwrov-module.h.