Classes | Macros | Functions | Variables
rplidar_protocol.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _rplidar_ans_header_t
 
struct  _rplidar_cmd_packet_t
 

Macros

#define RPLIDAR_ANS_HEADER_SIZE_MASK   0x3FFFFFFF
 
#define RPLIDAR_ANS_HEADER_SUBTYPE_SHIFT   (30)
 
#define RPLIDAR_ANS_PKTFLAG_LOOP   0x1
 
#define RPLIDAR_ANS_SYNC_BYTE1   0xA5
 
#define RPLIDAR_ANS_SYNC_BYTE2   0x5A
 
#define RPLIDAR_CMD_SYNC_BYTE   0xA5
 
#define RPLIDAR_CMDFLAG_HAS_PAYLOAD   0x80
 

Functions

struct _rplidar_cmd_packet_t __attribute__ ((packed)) rplidar_cmd_packet_t
 

Variables

_u8 cmd_flag
 
_u8 data [0]
 
_u8 size
 
_u32 size_q30_subtype
 
_u8 syncByte
 
_u8 syncByte1
 
_u8 syncByte2
 
_u8 type
 

Macro Definition Documentation

#define RPLIDAR_ANS_HEADER_SIZE_MASK   0x3FFFFFFF

Definition at line 48 of file rplidar_protocol.h.

#define RPLIDAR_ANS_HEADER_SUBTYPE_SHIFT   (30)

Definition at line 49 of file rplidar_protocol.h.

#define RPLIDAR_ANS_PKTFLAG_LOOP   0x1

Definition at line 46 of file rplidar_protocol.h.

#define RPLIDAR_ANS_SYNC_BYTE1   0xA5

Definition at line 43 of file rplidar_protocol.h.

#define RPLIDAR_ANS_SYNC_BYTE2   0x5A

Definition at line 44 of file rplidar_protocol.h.

#define RPLIDAR_CMD_SYNC_BYTE   0xA5

Definition at line 39 of file rplidar_protocol.h.

#define RPLIDAR_CMDFLAG_HAS_PAYLOAD   0x80

Definition at line 40 of file rplidar_protocol.h.

Function Documentation

struct _rplidar_cmd_packet_t __attribute__ ( (packed)  )

Variable Documentation

_u8 cmd_flag

Definition at line 336 of file rplidar_protocol.h.

_u8 data[0]

Definition at line 338 of file rplidar_protocol.h.

_u8 size

Definition at line 337 of file rplidar_protocol.h.

_u32 size_q30_subtype

Definition at line 337 of file rplidar_protocol.h.

_u8 syncByte

Definition at line 335 of file rplidar_protocol.h.

_u8 syncByte1

Definition at line 335 of file rplidar_protocol.h.

_u8 syncByte2

Definition at line 336 of file rplidar_protocol.h.

_u8 type

Definition at line 338 of file rplidar_protocol.h.



rplidar_ros
Author(s):
autogenerated on Wed Jan 1 2020 04:01:40