Class to read out Ublox Sensors.
More...
|
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.
|
|
UbloxUartSensor & | operator= (const UbloxUartSensor &)=delete |
| Copy assignment operator.
|
|
UbloxUartSensor & | operator= (UbloxUartSensor &&)=delete |
| Move assignment operator.
|
|
| UbloxUartSensor ()=default |
| Default constructor.
|
|
| UbloxUartSensor (const UbloxUartSensor &)=delete |
| Copy constructor.
|
|
| UbloxUartSensor (std::string name) |
| Constructor.
|
|
| UbloxUartSensor (UbloxUartSensor &&)=delete |
| Move constructor.
|
|
| ~UbloxUartSensor ()=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 |
| ยต - First sync character which begins a new binary message
|
|
static constexpr uint8_t | BINARY_SYNC_CHAR_2 |
| b - Second sync character which begins a new binary message
|
|
Class to read out Ublox Sensors.
◆ UbloxUartSensor()
NAV::vendor::ublox::UbloxUartSensor::UbloxUartSensor |
( |
std::string | name | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | name | Name of the Parent Node |
◆ findPacket()
std::unique_ptr< uart::protocol::Packet > NAV::vendor::ublox::UbloxUartSensor::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: