#include <gps_protocol.h>
Public Member Functions | |
int32_t | CheckPacket (const uint8_t *buf) override |
int32_t | CheckPreamble (const uint8_t *buf) override |
uint32_t | FindPacketLen (const uint8_t *buf, uint32_t buf_length) override |
uint32_t | GetPacketLen (const uint8_t *buf) override |
uint32_t | GetPacketWrapperLen () override |
uint32_t | GetPreambleLen () override |
GpsProtocol () | |
int32_t | Pack (uint8_t *o_buf, uint32_t o_buf_size, uint32_t *o_len, const CommPacket &i_packet) override |
int32_t | ParsePacket (const uint8_t *i_buf, uint32_t i_len, CommPacket *o_packet) override |
~GpsProtocol ()=default | |
Public Member Functions inherited from livox_ros::Protocol | |
virtual | ~Protocol ()=default |
Private Member Functions | |
uint8_t | CalcGpsPacketChecksum (const uint8_t *buf, uint32_t length) |
Private Attributes | |
uint32_t | found_length_ |
Definition at line 49 of file gps_protocol.h.
livox_ros::GpsProtocol::GpsProtocol | ( | ) |
'$' + '*' + '2 checksum byte'
Definition at line 39 of file gps_protocol.cpp.
|
default |
|
private |
Definition at line 106 of file gps_protocol.cpp.
Implements livox_ros::Protocol.
Definition at line 95 of file gps_protocol.cpp.
Implements livox_ros::Protocol.
Definition at line 85 of file gps_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 68 of file gps_protocol.cpp.
Implements livox_ros::Protocol.
Definition at line 83 of file gps_protocol.cpp.
|
overridevirtual |
'$' + '*' + '2 checksum bytes'
Implements livox_ros::Protocol.
Definition at line 64 of file gps_protocol.cpp.
|
overridevirtual |
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 41 of file gps_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 47 of file gps_protocol.cpp.
|
private |
Definition at line 73 of file gps_protocol.h.