Class to read out Emlid Sensors.
More...
|
| EmlidUartSensor ()=default |
| Default constructor.
|
|
| EmlidUartSensor (const EmlidUartSensor &)=delete |
| Copy constructor.
|
|
| EmlidUartSensor (EmlidUartSensor &&)=delete |
| Move constructor.
|
|
| EmlidUartSensor (std::string name) |
| Constructor.
|
|
std::unique_ptr< uart::protocol::Packet > | findPacket (uint8_t dataByte) |
| Collects data bytes and searches for packages inside of them.
|
|
uart::sensors::UartSensor * | operator-> () |
| Arrow operator overload.
|
|
EmlidUartSensor & | operator= (const EmlidUartSensor &)=delete |
| Copy assignment operator.
|
|
EmlidUartSensor & | operator= (EmlidUartSensor &&)=delete |
| Move assignment operator.
|
|
| ~EmlidUartSensor ()=default |
| Destructor.
|
|
|
static constexpr uint8_t | ASCII_START_CHAR |
| Ascii character which begins a new ascii message.
|
|
static constexpr uint8_t | BINARY_SYNC_CHAR_1 |
| R - First sync character which begins a new binary message.
|
|
static constexpr uint8_t | BINARY_SYNC_CHAR_2 |
| E - Second sync character which begins a new binary message.
|
|
Class to read out Emlid Sensors.
◆ EmlidUartSensor()
NAV::vendor::emlid::EmlidUartSensor::EmlidUartSensor |
( |
std::string | name | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | name | Name of the Parent Node |
◆ findPacket()
std::unique_ptr< uart::protocol::Packet > NAV::vendor::emlid::EmlidUartSensor::findPacket |
( |
uint8_t | dataByte | ) |
|
Collects data bytes and searches for packages inside of them.
- Parameters
-
[in] | dataByte | The next data byte |
- Returns
- nullptr if no packet found yet, otherwise a pointer to the packet
The documentation for this class was generated from the following file: