Variables
reference Namespace Reference

Variables

int angle_shift = 1
tuple command_format
int devhealth = 0x6
int devinfo = 0x4
int flag_has_pay_load = 0x80
int force_scan = 0x21
int get_device_health = 0x52
int get_device_info = 0x50
int measurement = 0x81
int MULTI = 0x1
int reset = 0x40
tuple response_device_health_format
tuple response_device_info_format
tuple response_device_point_format
tuple response_header_format
int scan = 0x20
int SINGLE = 0x0
int status_error = 0x2
int status_ok = 0x0
int status_warning = 0x1
int stop = 0x25
int sync_byte = 0xA5
int sync_byte1 = 0xA5
int sync_byte2 = 0x5A
string toHex = ""
int UNDEFINED_f = 0x2
int UNDEFINED_s = 0x3

Variable Documentation

Definition at line 55 of file reference.py.

Initial value:
00001 Struct("cmd_format",
00002  ULInt8("sync_byte"), # must be A5
00003  ULInt8("cmd_flag") # CMD
00004 )

Definition at line 59 of file reference.py.

Definition at line 42 of file reference.py.

int reference::devinfo = 0x4

Definition at line 41 of file reference.py.

Definition at line 33 of file reference.py.

Definition at line 23 of file reference.py.

Definition at line 29 of file reference.py.

Definition at line 28 of file reference.py.

Definition at line 40 of file reference.py.

int reference::MULTI = 0x1

Definition at line 51 of file reference.py.

int reference::reset = 0x40

Definition at line 20 of file reference.py.

Initial value:
00001 Struct("health_format",
00002  ULInt8("status"),
00003  ULInt16("error_code")
00004 )

Definition at line 85 of file reference.py.

Initial value:
00001 Struct("info_format",
00002  ULInt8("model"),
00003  ULInt16("firmware_version"),
00004  ULInt8("hardware_version"),
00005  String("serial_number", 16)
00006 )

Definition at line 77 of file reference.py.

Initial value:
00001 Struct("point_format",
00002 
00003  BitStruct("quality", 
00004   BitField("quality", 6),
00005   Flag("syncbit_inverse"),#扫描起始标志位的取反,始终有S̅ = ! S
00006   Flag("syncbit")),#扫描起始标志位,S=1 表示新的一圈 360 度扫描的开始
00007 
00008  ULInt16("angle_q6"),#check_bit:1;angle_q6:15;
00009  ULInt16("distance_q2")
00010 )

Definition at line 91 of file reference.py.

Initial value:
00001 Struct("header_format",
00002  ULInt8("sync_byte1"), # must be A5
00003  ULInt8("sync_byte2"), # must be 5A
00004  BitStruct("response",
00005   BitField("response_size", 8),
00006   BitField("response_data", 22),
00007   BitField("response_mode",2),
00008   ),
00009  ULInt8("response_type"), # # to determine which kind of response it is
00010 )

Definition at line 65 of file reference.py.

int reference::scan = 0x20

Definition at line 24 of file reference.py.

int reference::SINGLE = 0x0

Definition at line 50 of file reference.py.

Definition at line 47 of file reference.py.

Definition at line 45 of file reference.py.

Definition at line 46 of file reference.py.

int reference::stop = 0x25

Definition at line 19 of file reference.py.

Definition at line 32 of file reference.py.

Definition at line 36 of file reference.py.

Definition at line 37 of file reference.py.

string reference::toHex = ""

Definition at line 104 of file reference.py.

Definition at line 52 of file reference.py.

Definition at line 53 of file reference.py.



rplidar_python
Author(s): DinnerHowe
autogenerated on Thu Apr 13 2017 02:56:29