Go to the source code of this file.
Classes | |
struct | _rplidar_cmd_packet_t |
struct | _rplidar_ans_header_t |
Macros | |
#define | RPLIDAR_CMD_SYNC_BYTE 0xA5 |
#define | RPLIDAR_CMDFLAG_HAS_PAYLOAD 0x80 |
#define | RPLIDAR_ANS_SYNC_BYTE1 0xA5 |
#define | RPLIDAR_ANS_SYNC_BYTE2 0x5A |
#define | RPLIDAR_ANS_PKTFLAG_LOOP 0x1 |
#define | RPLIDAR_ANS_HEADER_SIZE_MASK 0x3FFFFFFF |
#define | RPLIDAR_ANS_HEADER_SUBTYPE_SHIFT (30) |
Functions | |
struct _rplidar_cmd_packet_t | __attribute__ ((packed)) rplidar_cmd_packet_t |
Variables | |
_u8 | syncByte |
_u8 | cmd_flag |
_u8 | size |
_u8 * | data |
_u8 | syncByte1 |
_u8 | syncByte2 |
_u32 | size_q30_subtype |
_u8 | type |
#define RPLIDAR_ANS_HEADER_SIZE_MASK 0x3FFFFFFF |
Definition at line 46 of file rplidar_protocol.h.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::checkMotorCtrlSupport(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getDeviceInfo(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getHealth(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getSampleDuration_uS(), rp::standalone::rplidar::RPlidarDriverSerialImpl::startScanExpress(), and rp::standalone::rplidar::RPlidarDriverSerialImpl::startScanNormal().
#define RPLIDAR_ANS_HEADER_SUBTYPE_SHIFT (30) |
Definition at line 47 of file rplidar_protocol.h.
#define RPLIDAR_ANS_PKTFLAG_LOOP 0x1 |
Definition at line 44 of file rplidar_protocol.h.
#define RPLIDAR_ANS_SYNC_BYTE1 0xA5 |
Definition at line 41 of file rplidar_protocol.h.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitResponseHeader().
#define RPLIDAR_ANS_SYNC_BYTE2 0x5A |
Definition at line 42 of file rplidar_protocol.h.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitResponseHeader().
#define RPLIDAR_CMD_SYNC_BYTE 0xA5 |
Definition at line 38 of file rplidar_protocol.h.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_sendCommand().
#define RPLIDAR_CMDFLAG_HAS_PAYLOAD 0x80 |
Definition at line 39 of file rplidar_protocol.h.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_sendCommand().
struct _rplidar_cmd_packet_t __attribute__ | ( | (packed) | ) |
_u8 cmd_flag |
Definition at line 266 of file rplidar_protocol.h.
Definition at line 268 of file rplidar_protocol.h.
Definition at line 267 of file rplidar_protocol.h.
_u32 size_q30_subtype |
Definition at line 267 of file rplidar_protocol.h.
_u8 syncByte |
Definition at line 265 of file rplidar_protocol.h.
_u8 syncByte1 |
Definition at line 265 of file rplidar_protocol.h.
_u8 syncByte2 |
Definition at line 266 of file rplidar_protocol.h.
Definition at line 268 of file rplidar_protocol.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |