├── CMakeLists.txt ├── README.md ├── doc ├── Doxyfile └── html │ ├── _c_yd_lidar_8h_source.html │ ├── _console_8h_source.html │ ├── annotated.html │ ├── app(2).png │ ├── arrowdown.png │ ├── arrowright.png │ ├── bc_s.png │ ├── bdwn.png │ ├── class_c_yd_lidar-members.html │ ├── class_c_yd_lidar.html │ ├── class_event-members.html │ ├── class_event.html │ ├── class_locker-members.html │ ├── class_locker.html │ ├── class_scoped_locker-members.html │ ├── class_scoped_locker.html │ ├── class_scoped_locker__coll__graph.map │ ├── class_scoped_locker__coll__graph.md5 │ ├── class_scoped_locker__coll__graph.png │ ├── class_thread-members.html │ ├── class_thread.html │ ├── classes.html │ ├── classserial_1_1_millisecond_timer-members.html │ ├── classserial_1_1_millisecond_timer.html │ ├── classserial_1_1_serial-members.html │ ├── classserial_1_1_serial.html │ ├── classserial_1_1_serial_1_1_scoped_read_lock-members.html │ ├── classserial_1_1_serial_1_1_scoped_read_lock.html │ ├── classserial_1_1_serial_1_1_scoped_write_lock-members.html │ ├── classserial_1_1_serial_1_1_scoped_write_lock.html │ ├── classserial_1_1_serial_1_1_serial_impl-members.html │ ├── classserial_1_1_serial_1_1_serial_impl.html │ ├── classserial_1_1serial_1_1_serial_1_1_serial_impl-members.html │ ├── classserial_1_1serial_1_1_serial_1_1_serial_impl.html │ ├── classydlidar_1_1_console-members.html │ ├── classydlidar_1_1_console.html │ ├── classydlidar_1_1_y_dlidar_driver-members.html │ ├── classydlidar_1_1_y_dlidar_driver.html │ ├── classydlidar_1_1_y_dlidar_driver__coll__graph.map │ ├── classydlidar_1_1_y_dlidar_driver__coll__graph.md5 │ ├── classydlidar_1_1_y_dlidar_driver__coll__graph.png │ ├── closed.png │ ├── common_8h_source.html │ ├── dir_0834a1453ead243784276400df23f54f.html │ ├── dir_3808e3f8fe545b07b1d2715928fb0eea.html │ ├── dir_68267d1309a1af8e8297ef4c3efbcdba.html │ ├── dir_68d46136ab8a8bc94545215845910cfb.html │ ├── dir_6f9635d4fbfa321d4c00f29df5cd540c.html │ ├── dir_cfa68689d3aca823fc84b2132e590e35.html │ ├── dir_d44c64559bbebec7f509842c48db8b23.html │ ├── doc.png │ ├── doxygen.css │ ├── doxygen.png │ ├── dynsections.js │ ├── files.html │ ├── folderclosed.png │ ├── folderopen.png │ ├── functions.html │ ├── functions_eval.html │ ├── functions_func.html │ ├── functions_vars.html │ ├── graph_legend.html │ ├── graph_legend.md5 │ ├── graph_legend.png │ ├── index.html │ ├── jquery.js │ ├── lock_8h_source.html │ ├── locker_8h_source.html │ ├── logo.ico │ ├── md_README.html │ ├── md__home_yang_gaussian_sdk_README.html │ ├── md__home_yang_tmp_sdk_README.html │ ├── namespacemembers.html │ ├── namespacemembers_enum.html │ ├── namespaces.html │ ├── namespaceserial.html │ ├── nav_f.png │ ├── nav_g.png │ ├── nav_h.png │ ├── open.png │ ├── pages.html │ ├── search │ ├── all_0.html │ ├── all_0.js │ ├── all_1.html │ ├── all_1.js │ ├── all_10.html │ ├── all_10.js │ ├── all_11.html │ ├── all_11.js │ ├── all_12.html │ ├── all_12.js │ ├── all_13.html │ ├── all_13.js │ ├── all_14.html │ ├── all_14.js │ ├── all_2.html │ ├── all_2.js │ ├── all_3.html │ ├── all_3.js │ ├── all_4.html │ ├── all_4.js │ ├── all_5.html │ ├── all_5.js │ ├── all_6.html │ ├── all_6.js │ ├── all_7.html │ ├── all_7.js │ ├── all_8.html │ ├── all_8.js │ ├── all_9.html │ ├── all_9.js │ ├── all_a.html │ ├── all_a.js │ ├── all_b.html │ ├── all_b.js │ ├── all_c.html │ ├── all_c.js │ ├── all_d.html │ ├── all_d.js │ ├── all_e.html │ ├── all_e.js │ ├── all_f.html │ ├── all_f.js │ ├── classes_0.html │ ├── classes_0.js │ ├── classes_1.html │ ├── classes_1.js │ ├── classes_2.html │ ├── classes_2.js │ ├── classes_3.html │ ├── classes_3.js │ ├── classes_4.html │ ├── classes_4.js │ ├── classes_5.html │ ├── classes_5.js │ ├── classes_6.html │ ├── classes_6.js │ ├── classes_7.html │ ├── classes_7.js │ ├── classes_8.html │ ├── classes_8.js │ ├── classes_9.html │ ├── classes_9.js │ ├── classes_a.html │ ├── classes_a.js │ ├── close.png │ ├── enums_0.html │ ├── enums_0.js │ ├── enums_1.html │ ├── enums_1.js │ ├── enums_2.html │ ├── enums_2.js │ ├── enums_3.html │ ├── enums_3.js │ ├── enumvalues_0.html │ ├── enumvalues_0.js │ ├── enumvalues_1.html │ ├── enumvalues_1.js │ ├── enumvalues_2.html │ ├── enumvalues_2.js │ ├── functions_0.html │ ├── functions_0.js │ ├── functions_1.html │ ├── functions_1.js │ ├── functions_2.html │ ├── functions_2.js │ ├── functions_3.html │ ├── functions_3.js │ ├── functions_4.html │ ├── functions_4.js │ ├── functions_5.html │ ├── functions_5.js │ ├── functions_6.html │ ├── functions_6.js │ ├── functions_7.html │ ├── functions_7.js │ ├── functions_8.html │ ├── functions_8.js │ ├── functions_9.html │ ├── functions_9.js │ ├── functions_a.html │ ├── functions_a.js │ ├── functions_b.html │ ├── functions_b.js │ ├── functions_c.html │ ├── functions_c.js │ ├── functions_d.html │ ├── functions_d.js │ ├── mag_sel.png │ ├── namespaces_0.html │ ├── namespaces_0.js │ ├── nomatches.html │ ├── pages_0.html │ ├── pages_0.js │ ├── search.css │ ├── search.js │ ├── search_l.png │ ├── search_m.png │ ├── search_r.png │ ├── searchdata.js │ ├── variables_0.html │ ├── variables_0.js │ ├── variables_1.html │ ├── variables_1.js │ ├── variables_2.html │ ├── variables_2.js │ ├── variables_3.html │ ├── variables_3.js │ ├── variables_4.html │ ├── variables_4.js │ ├── variables_5.html │ ├── variables_5.js │ ├── variables_6.html │ ├── variables_6.js │ ├── variables_7.html │ ├── variables_7.js │ ├── variables_8.html │ ├── variables_8.js │ ├── variables_9.html │ ├── variables_9.js │ ├── variables_a.html │ ├── variables_a.js │ ├── variables_b.html │ ├── variables_b.js │ ├── variables_c.html │ ├── variables_c.js │ ├── variables_d.html │ └── variables_d.js │ ├── serial_8h_source.html │ ├── splitbar.png │ ├── struct_laser_config-members.html │ ├── struct_laser_config.html │ ├── struct_laser_scan-members.html │ ├── struct_laser_scan.html │ ├── struct_laser_scan__coll__graph.map │ ├── struct_laser_scan__coll__graph.md5 │ ├── struct_laser_scan__coll__graph.png │ ├── struct_package_node-members.html │ ├── struct_package_node.html │ ├── structcmd__packet-members.html │ ├── structcmd__packet.html │ ├── structdevice__health-members.html │ ├── structdevice__health.html │ ├── structdevice__info-members.html │ ├── structdevice__info.html │ ├── structfunction__state-members.html │ ├── structfunction__state.html │ ├── structlidar__ans__header-members.html │ ├── structlidar__ans__header.html │ ├── structnode__info-members.html │ ├── structnode__info.html │ ├── structnode__package-members.html │ ├── structnode__package.html │ ├── structnode__package__coll__graph.map │ ├── structnode__package__coll__graph.md5 │ ├── structnode__package__coll__graph.png │ ├── structnode__packages-members.html │ ├── structnode__packages.html │ ├── structsampling__rate-members.html │ ├── structsampling__rate.html │ ├── structscan__exposure-members.html │ ├── structscan__exposure.html │ ├── structscan__frequency-members.html │ ├── structscan__frequency.html │ ├── structscan__heart__beat-members.html │ ├── structscan__heart__beat.html │ ├── structscan__points-members.html │ ├── structscan__points.html │ ├── structscan__rotation-members.html │ ├── structscan__rotation.html │ ├── structscan_dot-members.html │ ├── structscan_dot.html │ ├── structserial_1_1_port_info-members.html │ ├── structserial_1_1_port_info.html │ ├── structserial_1_1_port_info__coll__graph.map │ ├── structserial_1_1_port_info__coll__graph.md5 │ ├── structserial_1_1_port_info__coll__graph.png │ ├── structserial_1_1_timeout-members.html │ ├── structserial_1_1_timeout.html │ ├── structserial_1_1termios2-members.html │ ├── structserial_1_1termios2.html │ ├── sync_off.png │ ├── sync_on.png │ ├── tab_a.png │ ├── tab_b.png │ ├── tab_h.png │ ├── tab_s.png │ ├── tabs.css │ ├── thread_8h_source.html │ ├── timer_8h_source.html │ ├── unix_8h_source.html │ ├── unix__serial_8h_source.html │ ├── utils_8h_source.html │ ├── v8stdint_8h_source.html │ ├── win_8h_source.html │ ├── win__serial_8h_source.html │ ├── ydliar.png │ ├── ydlidar.png │ ├── ydlidar__driver_8h_source.html │ └── ydlidar__protocol_8h_source.html ├── include ├── CYdLidar.h ├── Console.h ├── lock.h ├── locker.h ├── serial.h ├── thread.h ├── timer.h ├── utils.h ├── v8stdint.h ├── ydlidar_driver.h └── ydlidar_protocol.h ├── samples ├── CMakeLists.txt └── main.cpp └── src ├── CYdLidar.cpp ├── Console.cpp ├── common.h ├── impl ├── unix │ ├── list_ports_linux.cpp │ ├── unix.h │ ├── unix_serial.cpp │ ├── unix_serial.h │ └── unix_timer.cpp └── windows │ ├── list_ports_win.cpp │ ├── win.h │ ├── win_serial.cpp │ ├── win_serial.h │ └── win_timer.cpp ├── lock.c ├── serial.cpp └── ydlidar_driver.cpp /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8) 2 | #add_definitions(-std=c++11) # Use C++11 3 | SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 4 | include_directories(include) 5 | include_directories(src) 6 | 7 | IF (WIN32) 8 | FILE(GLOB SDK_SRC 9 | "src/*.cpp" 10 | "src/*.c" 11 | "src/*.h" 12 | "src/impl/windows/*.cpp" 13 | "src/impl/windows/*.h" 14 | ) 15 | 16 | ELSE() 17 | FILE(GLOB SDK_SRC 18 | "src/*.cpp" 19 | "src/*.c" 20 | "src/*.h" 21 | "src/impl/unix/*.cpp" 22 | "src/impl/unix/*.h" 23 | ) 24 | 25 | 26 | ENDIF() 27 | 28 | set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") 29 | set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") 30 | add_subdirectory(samples) 31 | add_library(ydlidar_driver SHARED ${SDK_SRC}) 32 | IF (WIN32) 33 | target_link_libraries(ydlidar_driver setupapi) 34 | ELSE() 35 | target_link_libraries(ydlidar_driver rt pthread) 36 | ENDIF() 37 | -------------------------------------------------------------------------------- /doc/html/app(2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/app(2).png -------------------------------------------------------------------------------- /doc/html/arrowdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/arrowdown.png -------------------------------------------------------------------------------- /doc/html/arrowright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/arrowright.png -------------------------------------------------------------------------------- /doc/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/bc_s.png -------------------------------------------------------------------------------- /doc/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/bdwn.png -------------------------------------------------------------------------------- /doc/html/class_scoped_locker__coll__graph.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /doc/html/class_scoped_locker__coll__graph.md5: -------------------------------------------------------------------------------- 1 | 282723e6afce136b3b9db23bdf0b5059 -------------------------------------------------------------------------------- /doc/html/class_scoped_locker__coll__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/class_scoped_locker__coll__graph.png -------------------------------------------------------------------------------- /doc/html/classydlidar_1_1_y_dlidar_driver__coll__graph.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /doc/html/classydlidar_1_1_y_dlidar_driver__coll__graph.md5: -------------------------------------------------------------------------------- 1 | 7ee5f33a4caaf3b062df6682d98ebaf4 -------------------------------------------------------------------------------- /doc/html/classydlidar_1_1_y_dlidar_driver__coll__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/classydlidar_1_1_y_dlidar_driver__coll__graph.png -------------------------------------------------------------------------------- /doc/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/closed.png -------------------------------------------------------------------------------- /doc/html/dir_0834a1453ead243784276400df23f54f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/tmp/sdk/src/impl/list_ports Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.4 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
list_ports Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Files

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/dir_3808e3f8fe545b07b1d2715928fb0eea.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/src/impl Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
impl Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Directories

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/src Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
src Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Directories

98 | 100 |

99 | Files

101 |
102 | 103 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /doc/html/dir_68d46136ab8a8bc94545215845910cfb.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/src/impl/unix Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
unix Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Files

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/dir_6f9635d4fbfa321d4c00f29df5cd540c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/samples Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
samples Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Files

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/dir_cfa68689d3aca823fc84b2132e590e35.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/src/impl/windows Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
windows Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Files

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/dir_d44c64559bbebec7f509842c48db8b23.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: /home/yang/gaussian/sdk/include Directory Reference 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 70 | 71 |
75 |
76 | 77 | 78 |
79 | 82 |
83 | 84 | 88 |
89 |
90 |
91 |
include Directory Reference
92 |
93 |
94 | 95 | 97 |

96 | Files

98 |
99 | 100 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /doc/html/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/doc.png -------------------------------------------------------------------------------- /doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/doxygen.png -------------------------------------------------------------------------------- /doc/html/dynsections.js: -------------------------------------------------------------------------------- 1 | function toggleVisibility(linkObj) 2 | { 3 | var base = $(linkObj).attr('id'); 4 | var summary = $('#'+base+'-summary'); 5 | var content = $('#'+base+'-content'); 6 | var trigger = $('#'+base+'-trigger'); 7 | var src=$(trigger).attr('src'); 8 | if (content.is(':visible')===true) { 9 | content.hide(); 10 | summary.show(); 11 | $(linkObj).addClass('closed').removeClass('opened'); 12 | $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); 13 | } else { 14 | content.show(); 15 | summary.hide(); 16 | $(linkObj).removeClass('closed').addClass('opened'); 17 | $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); 18 | } 19 | return false; 20 | } 21 | 22 | function updateStripes() 23 | { 24 | $('table.directory tr'). 25 | removeClass('even').filter(':visible:even').addClass('even'); 26 | } 27 | 28 | function toggleLevel(level) 29 | { 30 | $('table.directory tr').each(function() { 31 | var l = this.id.split('_').length-1; 32 | var i = $('#img'+this.id.substring(3)); 33 | var a = $('#arr'+this.id.substring(3)); 34 | if (l 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: Main Page 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 |
66 | 67 |
71 |
72 | 73 | 74 |
75 | 78 |
79 | 80 |
81 |
82 |
YDLIDAR SDK Documentation
83 |
84 |
85 |
86 | 87 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /doc/html/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/logo.ico -------------------------------------------------------------------------------- /doc/html/namespaces.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: Namespace List 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 | 71 |
72 | 73 |
77 |
78 | 79 | 80 |
81 | 84 |
85 | 86 |
87 |
88 |
Namespace List
89 |
90 |
91 |
Here is a list of all documented namespaces with brief descriptions:
92 | 93 | 94 |
 Nserial
95 |
96 |
97 | 98 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /doc/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/nav_f.png -------------------------------------------------------------------------------- /doc/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/nav_g.png -------------------------------------------------------------------------------- /doc/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/nav_h.png -------------------------------------------------------------------------------- /doc/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/open.png -------------------------------------------------------------------------------- /doc/html/pages.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | YDLIDAR SDK: Related Pages 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 |
27 |
YDLIDAR SDK 28 |  V1.3.8 29 |
30 |
34 |
35 | 36 | 37 | 40 | 65 |
66 | 67 |
71 |
72 | 73 | 74 |
75 | 78 |
79 | 80 |
81 |
82 |
Related Pages
83 |
84 |
85 |
Here is a list of all related documentation pages:
86 | 87 | 88 |
 YDLIDAR SDK PACKAGE V1.3.9
89 |
90 |
91 | 92 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /doc/html/search/all_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_5fdataevent',['_dataEvent',['../classydlidar_1_1_y_dlidar_driver.html#afd2b3835a0e450d9b88d28d8f574148d',1,'ydlidar::YDlidarDriver']]], 4 | ['_5flock',['_lock',['../classydlidar_1_1_y_dlidar_driver.html#a1bb836661c8c39c2b71c9a0de8755c5c',1,'ydlidar::YDlidarDriver']]], 5 | ['_5fserial_5flock',['_serial_lock',['../classydlidar_1_1_y_dlidar_driver.html#ac1ace85f37283559d4f2bc2797eea900',1,'ydlidar::YDlidarDriver']]], 6 | ['_5fthread',['_thread',['../classydlidar_1_1_y_dlidar_driver.html#a9fbd1b3471c1aa4959d74524b9a92410',1,'ydlidar::YDlidarDriver']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ang_5fincrement',['ang_increment',['../struct_laser_config.html#a67279ae0f648a129521576f52c321932',1,'LaserConfig']]], 4 | ['angle_5fq6_5fcheckbit',['angle_q6_checkbit',['../structnode__info.html#a73e1d282a573f3daa74332fe29b90a26',1,'node_info']]], 5 | ['ascendscandata',['ascendScanData',['../classydlidar_1_1_y_dlidar_driver.html#a6494501f3fee2f6dc410f869bbc18cb9',1,'ydlidar::YDlidarDriver']]], 6 | ['autoreconnectlidar',['autoReconnectLidar',['../classydlidar_1_1_y_dlidar_driver.html#aeb30a654d8f1b438e7214a78558ecac3',1,'ydlidar::YDlidarDriver']]], 7 | ['available',['available',['../classserial_1_1_serial.html#ab5fae6cebb8e34345ca1f55cbccc4698',1,'serial::Serial']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/all_10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_11.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['termios2',['termios2',['../structserial_1_1termios2.html',1,'serial']]], 4 | ['thread',['Thread',['../class_thread.html',1,'']]], 5 | ['time_5fincrement',['time_increment',['../struct_laser_config.html#ada1a720957176549489916335edcc335',1,'LaserConfig']]], 6 | ['timeout',['Timeout',['../structserial_1_1_timeout.html',1,'serial']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_12.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['waitbytetimes',['waitByteTimes',['../classserial_1_1_serial.html#a35c0f6ff20c142a5210dde288731f954',1,'serial::Serial']]], 4 | ['waitforchange',['waitForChange',['../classserial_1_1_serial.html#a9d889dc0ec2cec50a620650f10cf8e83',1,'serial::Serial']]], 5 | ['waitfordata',['waitForData',['../classydlidar_1_1_y_dlidar_driver.html#a13f404b44f51941d1642bfe250de3522',1,'ydlidar::YDlidarDriver']]], 6 | ['waitpackage',['waitPackage',['../classydlidar_1_1_y_dlidar_driver.html#aaf78903693f58c7f739dfa493573b3b1',1,'ydlidar::YDlidarDriver']]], 7 | ['waitreadable',['waitReadable',['../classserial_1_1_serial.html#a59bd8d40309769e8eed91dd3684e0000',1,'serial::Serial']]], 8 | ['waitresponseheader',['waitResponseHeader',['../classydlidar_1_1_y_dlidar_driver.html#a0e089d615193ccef4bf488f63ff8130e',1,'ydlidar::YDlidarDriver']]], 9 | ['waitscandata',['waitScanData',['../classydlidar_1_1_y_dlidar_driver.html#a574996217284ce34191a2f3675a9f17b',1,'ydlidar::YDlidarDriver']]], 10 | ['write',['write',['../classserial_1_1_serial.html#a3275e8456850998c0ac46b2768ab9258',1,'serial::Serial::write(const uint8_t *data, size_t size)'],['../classserial_1_1_serial.html#a9c2827088d82ee82f245ffa106fa7d10',1,'serial::Serial::write(const std::vector< uint8_t > &data)'],['../classserial_1_1_serial.html#a7c92c0307b86a935f6623953eec66460',1,'serial::Serial::write(const std::string &data)'],['../classserial_1_1_serial_1_1_serial_impl.html#adb5572ca568cd0186dec4bc4af28f13b',1,'serial::Serial::SerialImpl::write()']]], 11 | ['write_5ftimeout_5fconstant',['write_timeout_constant',['../structserial_1_1_timeout.html#accf01b97f83564f4ce3d6e5f63e21006',1,'serial::Timeout']]], 12 | ['write_5ftimeout_5fmultiplier',['write_timeout_multiplier',['../structserial_1_1_timeout.html#a31ddae32907cff9c3d27fa763981317d',1,'serial::Timeout']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /doc/html/search/all_13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_14.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7eserial',['~Serial',['../classserial_1_1_serial.html#a071000a2f5f77a40df8311fad5044481',1,'serial::Serial']]], 4 | ['_7eydlidardriver',['~YDlidarDriver',['../classydlidar_1_1_y_dlidar_driver.html#a87a50f9f1093a93b4d985f3e8bf27fde',1,'ydlidar::YDlidarDriver']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['bytesize_5ft',['bytesize_t',['../namespaceserial.html#a00b3281fa11cea770c0b0c8a106080f8',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cachescandata',['cacheScanData',['../classydlidar_1_1_y_dlidar_driver.html#ab462b22dc3a4d39fef4f722345a87d5e',1,'ydlidar::YDlidarDriver']]], 4 | ['checkcomms',['checkCOMMs',['../class_c_yd_lidar.html#ab43ca6b1d054aa464a36bea0d4b7934c',1,'CYdLidar']]], 5 | ['checkhardware',['checkHardware',['../class_c_yd_lidar.html#ab3c24f8f59fee87aa4e829ca5c8f90d2',1,'CYdLidar']]], 6 | ['checkstatus',['checkStatus',['../class_c_yd_lidar.html#a8b401544eb4c992c7eff8d5fd47e5676',1,'CYdLidar']]], 7 | ['checktranstime',['checkTransTime',['../classydlidar_1_1_y_dlidar_driver.html#ae9a739915f16227e21c2616faed42877',1,'ydlidar::YDlidarDriver']]], 8 | ['cleardtr',['clearDTR',['../classydlidar_1_1_y_dlidar_driver.html#a67fe00d7458cdb52b4160d745b8ecd32',1,'ydlidar::YDlidarDriver']]], 9 | ['close',['close',['../classserial_1_1_serial.html#a501082725b61e4baf615266065bbac5f',1,'serial::Serial']]], 10 | ['cmd_5fpacket',['cmd_packet',['../structcmd__packet.html',1,'']]], 11 | ['config',['config',['../struct_laser_scan.html#a5c7dd0b85432e62cf319f2ad4ec058b4',1,'LaserScan']]], 12 | ['connect',['connect',['../classydlidar_1_1_y_dlidar_driver.html#a2c5eeecccaa6ed874635de1617e8d7d8',1,'ydlidar::YDlidarDriver']]], 13 | ['console',['Console',['../classydlidar_1_1_console.html',1,'ydlidar']]], 14 | ['createthread',['createThread',['../classydlidar_1_1_y_dlidar_driver.html#a2d2b317fa6381009222e03670812e917',1,'ydlidar::YDlidarDriver']]], 15 | ['cydlidar',['CYdLidar',['../class_c_yd_lidar.html',1,'']]] 16 | ]; 17 | -------------------------------------------------------------------------------- /doc/html/search/all_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['default_5fheart_5fbeat',['DEFAULT_HEART_BEAT',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa94033b4717c83f52cd008fe38b712e21',1,'ydlidar::YDlidarDriver']]], 4 | ['default_5ftimeout',['DEFAULT_TIMEOUT',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa07c79ce96f468ff4b40495ef84584442',1,'ydlidar::YDlidarDriver']]], 5 | ['description',['description',['../structserial_1_1_port_info.html#a2ba37dd33d47b554aef5c15c1fe8b872',1,'serial::PortInfo']]], 6 | ['device_5fhealth',['device_health',['../structdevice__health.html',1,'']]], 7 | ['device_5fid',['device_id',['../structserial_1_1_port_info.html#af6a8211d14bccb07b538ac584d195466',1,'serial::PortInfo']]], 8 | ['device_5finfo',['device_info',['../structdevice__info.html',1,'']]], 9 | ['disableconstfreq',['disableConstFreq',['../classydlidar_1_1_y_dlidar_driver.html#ae4b3883dd18bf01737bc4783d2dae974',1,'ydlidar::YDlidarDriver']]], 10 | ['disabledatagrabbing',['disableDataGrabbing',['../classydlidar_1_1_y_dlidar_driver.html#ae66565bee3cdb8b74698b691f2ab1e63',1,'ydlidar::YDlidarDriver']]], 11 | ['disablelowerpower',['disableLowerPower',['../classydlidar_1_1_y_dlidar_driver.html#a18895e94f42ce61890b4912727cdfbd8',1,'ydlidar::YDlidarDriver']]], 12 | ['disconnect',['disconnect',['../classydlidar_1_1_y_dlidar_driver.html#aa26790ae49d33936229fa67739a8ff5f',1,'ydlidar::YDlidarDriver']]], 13 | ['distance_5fq2',['distance_q2',['../structnode__info.html#a82eaf27a6196e803d3618c83b052f78c',1,'node_info']]] 14 | ]; 15 | -------------------------------------------------------------------------------- /doc/html/search/all_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['enable',['enable',['../structscan__heart__beat.html#a2b75f0058448601c590dda44d962d5c9',1,'scan_heart_beat']]], 4 | ['enableconstfreq',['enableConstFreq',['../classydlidar_1_1_y_dlidar_driver.html#a1e5c25618be9867dfdb1aa2f5e9cb93c',1,'ydlidar::YDlidarDriver']]], 5 | ['enablelowerpower',['enableLowerPower',['../classydlidar_1_1_y_dlidar_driver.html#a85a9af2aff7201a42f000299990b0ce5',1,'ydlidar::YDlidarDriver']]], 6 | ['error_5fcode',['error_code',['../structdevice__health.html#a8815828d6de33cb43e8b72da48f51f23',1,'device_health']]], 7 | ['event',['Event',['../class_event.html',1,'']]], 8 | ['exposure',['exposure',['../structscan__exposure.html#a49591ef660667fcd1c3e1c2f3d764004',1,'scan_exposure']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/all_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['firmware_5fversion',['firmware_version',['../structdevice__info.html#af3d369a410577d85ec6b59ffeeaade48',1,'device_info']]], 4 | ['flowcontrol_5ft',['flowcontrol_t',['../namespaceserial.html#a93ef57a314b4e562f9eded6c15d34351',1,'serial']]], 5 | ['flush',['flush',['../classserial_1_1_serial.html#a45a7676a6e6c775cd549e889e714b5bb',1,'serial::Serial']]], 6 | ['flushinput',['flushInput',['../classserial_1_1_serial.html#aa7432cbada95a7eac6d71a107cf2eaa3',1,'serial::Serial']]], 7 | ['flushoutput',['flushOutput',['../classserial_1_1_serial.html#a95e0d6dcf2b7b9aa45225bfb1647c427',1,'serial::Serial']]], 8 | ['frequency',['frequency',['../structscan__frequency.html#ae4f2152e77416cff02f44452355f2808',1,'scan_frequency']]], 9 | ['function_5fstate',['function_state',['../structfunction__state.html',1,'']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['getbaudrate',['getBaudrate',['../classserial_1_1_serial.html#a7a6ca1f8d8e68742e95b7f8dc8e9a1fa',1,'serial::Serial']]], 4 | ['getbytesize',['getBytesize',['../classserial_1_1_serial.html#ac735ef88a54659e2d0b3ae674c5f0a41',1,'serial::Serial']]], 5 | ['getbytetime',['getByteTime',['../classserial_1_1_serial.html#a8b7ad05b2521db6bbf184108f59e105e',1,'serial::Serial']]], 6 | ['getcd',['getCD',['../classserial_1_1_serial.html#a5a7c1a8e363b530147970155d0f6fe8d',1,'serial::Serial']]], 7 | ['getcts',['getCTS',['../classserial_1_1_serial.html#a97603438c9ded81a886f914b7a335d7f',1,'serial::Serial']]], 8 | ['getdata',['getData',['../classydlidar_1_1_y_dlidar_driver.html#ad787e714bc05e5a70a42b096e632c60f',1,'ydlidar::YDlidarDriver']]], 9 | ['getdeviceinfo',['getDeviceInfo',['../classydlidar_1_1_y_dlidar_driver.html#ab75303116c4ccb144ecc215e94114e1a',1,'ydlidar::YDlidarDriver']]], 10 | ['getdsr',['getDSR',['../classserial_1_1_serial.html#a91a00816bce6a163ea022b4cf8d4ce0e',1,'serial::Serial']]], 11 | ['getflowcontrol',['getFlowcontrol',['../classserial_1_1_serial.html#ad793526755625a59a0bf9d4cc0ea1755',1,'serial::Serial']]], 12 | ['gethealth',['getHealth',['../classydlidar_1_1_y_dlidar_driver.html#a9fe6f8b842a2aff2c3ae13f8423b03f4',1,'ydlidar::YDlidarDriver']]], 13 | ['getmotorstate',['getMotorState',['../classydlidar_1_1_y_dlidar_driver.html#af5d460ababe4b8a34b02d33268f24d4d',1,'ydlidar::YDlidarDriver']]], 14 | ['getmultiplerate',['getMultipleRate',['../classydlidar_1_1_y_dlidar_driver.html#aeb4019d223331bc5d7ee3fa28c5f7d85',1,'ydlidar::YDlidarDriver']]], 15 | ['getparity',['getParity',['../classserial_1_1_serial.html#a80e5d87b1e93b4c5a9d6f2cc7110b3c4',1,'serial::Serial']]], 16 | ['getport',['getPort',['../classserial_1_1_serial.html#a56eafe1694c92655d79993ce7139f0bf',1,'serial::Serial']]], 17 | ['getri',['getRI',['../classserial_1_1_serial.html#a29a1f68b9a238e9a6a833373855708ce',1,'serial::Serial']]], 18 | ['getsamplingrate',['getSamplingRate',['../classydlidar_1_1_y_dlidar_driver.html#a7b7812329013f119235abf74da397aaa',1,'ydlidar::YDlidarDriver']]], 19 | ['getscanfrequency',['getScanFrequency',['../classydlidar_1_1_y_dlidar_driver.html#a76efb701e137121b213f61028e3f235e',1,'ydlidar::YDlidarDriver']]], 20 | ['getsdkversion',['getSDKVersion',['../classydlidar_1_1_y_dlidar_driver.html#a542dc18ac8dbcda2a51657cf9bd44ae0',1,'ydlidar::YDlidarDriver']]], 21 | ['getstopbits',['getStopbits',['../classserial_1_1_serial.html#a81ee96ec2fdb80d1851430d9e2c4698b',1,'serial::Serial']]], 22 | ['gettimeout',['getTimeout',['../classserial_1_1_serial.html#a13023f118c75b27fa2f0280d2d1c2a20',1,'serial::Serial']]], 23 | ['grabscandata',['grabScanData',['../classydlidar_1_1_y_dlidar_driver.html#a6d6e04efa9d7e5d4aea41ee53d4ea8af',1,'ydlidar::YDlidarDriver']]] 24 | ]; 25 | -------------------------------------------------------------------------------- /doc/html/search/all_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hardware_5fid',['hardware_id',['../structserial_1_1_port_info.html#a7d55368e1a4e6ccc9da6f4d339524837',1,'serial::PortInfo']]], 4 | ['hardware_5fversion',['hardware_version',['../structdevice__info.html#add77e9b0edbc4a0dbd8f91b0cac9ea13',1,'device_info']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['intensities',['intensities',['../struct_laser_scan.html#a6e68040137d787ef7ef47580d147c503',1,'LaserScan']]], 4 | ['inter_5fbyte_5ftimeout',['inter_byte_timeout',['../structserial_1_1_timeout.html#ada15f2a0ae478cbb62ef79d1633b2b81',1,'serial::Timeout']]], 5 | ['isautoconnting',['isAutoconnting',['../classydlidar_1_1_y_dlidar_driver.html#a4fcf172c55eabd5c6ca2d8c2bf14e5c6',1,'ydlidar::YDlidarDriver']]], 6 | ['isautoreconnect',['isAutoReconnect',['../classydlidar_1_1_y_dlidar_driver.html#aa9fe773e62367a784c888d97c1886661',1,'ydlidar::YDlidarDriver']]], 7 | ['isconnected',['isconnected',['../classydlidar_1_1_y_dlidar_driver.html#a918486cdb4f3fbe863ec2e1231168538',1,'ydlidar::YDlidarDriver::isconnected() const '],['../classydlidar_1_1_y_dlidar_driver.html#a4457578961d36ce22035d778c0fd7f06',1,'ydlidar::YDlidarDriver::isConnected()']]], 8 | ['isopen',['isOpen',['../classserial_1_1_serial.html#a48458f741d0fdcc5623b4daa079cbf78',1,'serial::Serial']]], 9 | ['isscanning',['isscanning',['../classydlidar_1_1_y_dlidar_driver.html#ae37c037538f3acc3e488c7d3bbfcaece',1,'ydlidar::YDlidarDriver::isscanning() const '],['../classydlidar_1_1_y_dlidar_driver.html#a245115a8c8a4f98d988fbee06810d0a4',1,'ydlidar::YDlidarDriver::isScanning()']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['laserconfig',['LaserConfig',['../struct_laser_config.html',1,'']]], 4 | ['laserscan',['LaserScan',['../struct_laser_scan.html',1,'']]], 5 | ['lidar_5fans_5fheader',['lidar_ans_header',['../structlidar__ans__header.html',1,'']]], 6 | ['lidarportlist',['lidarPortList',['../classydlidar_1_1_y_dlidar_driver.html#a11d95d075a221a6f9ea5fee85d692b33',1,'ydlidar::YDlidarDriver']]], 7 | ['locker',['Locker',['../class_locker.html',1,'']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/all_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['max_5fangle',['max_angle',['../struct_laser_config.html#a2d09a717415770110787788127ad6b14',1,'LaserConfig']]], 4 | ['max_5frange',['max_range',['../struct_laser_config.html#a977dcea9a68dc9dd21113fd0eff24c9c',1,'LaserConfig']]], 5 | ['max_5fscan_5fnodes',['MAX_SCAN_NODES',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa3db6fc46c7ce55cdf3a968b70e96374a',1,'ydlidar::YDlidarDriver']]], 6 | ['millisecondtimer',['MillisecondTimer',['../classserial_1_1_millisecond_timer.html',1,'serial']]], 7 | ['min_5fangle',['min_angle',['../struct_laser_config.html#a0b68f6041dc05310626ef221d4cc2db9',1,'LaserConfig']]], 8 | ['min_5frange',['min_range',['../struct_laser_config.html#a262652da08f505f112be9e017fb43a43',1,'LaserConfig']]], 9 | ['model',['model',['../structdevice__info.html#a3c491b342ed11af3c70358e7e8f6c935',1,'device_info']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['node_5finfo',['node_info',['../structnode__info.html',1,'']]], 4 | ['node_5fpackage',['node_package',['../structnode__package.html',1,'']]], 5 | ['node_5fpackages',['node_packages',['../structnode__packages.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/all_d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['open',['open',['../classserial_1_1_serial.html#aa4403ddb51e9d209fd86ed316f0ee9b4',1,'serial::Serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['packagenode',['PackageNode',['../struct_package_node.html',1,'']]], 4 | ['parity_5ft',['parity_t',['../namespaceserial.html#a8f45d26bf7c9a06659e75b5004a50481',1,'serial']]], 5 | ['port',['port',['../structserial_1_1_port_info.html#a5d4242cdd6c0d01260e24964af4c23d2',1,'serial::PortInfo']]], 6 | ['portinfo',['PortInfo',['../structserial_1_1_port_info.html',1,'serial']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/all_f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['range_5fres',['range_res',['../struct_laser_config.html#ae52eb0e0aca41f6dde58700a642e4c80',1,'LaserConfig']]], 4 | ['ranges',['ranges',['../struct_laser_scan.html#a4d059cb77f0f9f6e558db50c9993f7df',1,'LaserScan']]], 5 | ['rate',['rate',['../structsampling__rate.html#a8d860fbedd930d2022fe7bb6cf1f78b6',1,'sampling_rate']]], 6 | ['read',['read',['../classserial_1_1_serial.html#a01fc2e3d77cb7d70069de87eca1400e9',1,'serial::Serial::read(uint8_t *buffer, size_t size)'],['../classserial_1_1_serial.html#a3ecd4645c76548ba079eab6f2f46adfb',1,'serial::Serial::read(std::vector< uint8_t > &buffer, size_t size=1)'],['../classserial_1_1_serial.html#ad6c6637fdf8edd85c3a6a63d98fc18f7',1,'serial::Serial::read(std::string &buffer, size_t size=1)'],['../classserial_1_1_serial.html#aa52fbf7d23fb761a46e2400829d2b77a',1,'serial::Serial::read(size_t size=1)']]], 7 | ['read_5ftimeout_5fconstant',['read_timeout_constant',['../structserial_1_1_timeout.html#a099244649dec66b6e0548480edeb2b9f',1,'serial::Timeout']]], 8 | ['read_5ftimeout_5fmultiplier',['read_timeout_multiplier',['../structserial_1_1_timeout.html#a64412753eb2edf1621716dd9f1a4e71e',1,'serial::Timeout']]], 9 | ['readline',['readline',['../classserial_1_1_serial.html#a010b18ec545dfe1a7bb1c95be4bdaa54',1,'serial::Serial::readline(std::string &buffer, size_t size=65536, std::string eol="\n")'],['../classserial_1_1_serial.html#a04177f637cc02f92ec0492d377528b2a',1,'serial::Serial::readline(size_t size=65536, std::string eol="\n")']]], 10 | ['readlines',['readlines',['../classserial_1_1_serial.html#a2ff222081c30ee4343498c6cc5c14b10',1,'serial::Serial']]], 11 | ['reset',['reset',['../classydlidar_1_1_y_dlidar_driver.html#a3dd4086c5685163f7c7487ea0f5af08c',1,'ydlidar::YDlidarDriver']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/search/classes_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cmd_5fpacket',['cmd_packet',['../structcmd__packet.html',1,'']]], 4 | ['console',['Console',['../classydlidar_1_1_console.html',1,'ydlidar']]], 5 | ['cydlidar',['CYdLidar',['../class_c_yd_lidar.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/classes_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['device_5fhealth',['device_health',['../structdevice__health.html',1,'']]], 4 | ['device_5finfo',['device_info',['../structdevice__info.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/classes_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['event',['Event',['../class_event.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['function_5fstate',['function_state',['../structfunction__state.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['laserconfig',['LaserConfig',['../struct_laser_config.html',1,'']]], 4 | ['laserscan',['LaserScan',['../struct_laser_scan.html',1,'']]], 5 | ['lidar_5fans_5fheader',['lidar_ans_header',['../structlidar__ans__header.html',1,'']]], 6 | ['locker',['Locker',['../class_locker.html',1,'']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/classes_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['millisecondtimer',['MillisecondTimer',['../classserial_1_1_millisecond_timer.html',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['node_5finfo',['node_info',['../structnode__info.html',1,'']]], 4 | ['node_5fpackage',['node_package',['../structnode__package.html',1,'']]], 5 | ['node_5fpackages',['node_packages',['../structnode__packages.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/classes_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['packagenode',['PackageNode',['../struct_package_node.html',1,'']]], 4 | ['portinfo',['PortInfo',['../structserial_1_1_port_info.html',1,'serial']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/classes_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sampling_5frate',['sampling_rate',['../structsampling__rate.html',1,'']]], 4 | ['scan_5fexposure',['scan_exposure',['../structscan__exposure.html',1,'']]], 5 | ['scan_5ffrequency',['scan_frequency',['../structscan__frequency.html',1,'']]], 6 | ['scan_5fheart_5fbeat',['scan_heart_beat',['../structscan__heart__beat.html',1,'']]], 7 | ['scan_5fpoints',['scan_points',['../structscan__points.html',1,'']]], 8 | ['scan_5frotation',['scan_rotation',['../structscan__rotation.html',1,'']]], 9 | ['scopedlocker',['ScopedLocker',['../class_scoped_locker.html',1,'']]], 10 | ['scopedreadlock',['ScopedReadLock',['../classserial_1_1_serial_1_1_scoped_read_lock.html',1,'serial::Serial']]], 11 | ['scopedwritelock',['ScopedWriteLock',['../classserial_1_1_serial_1_1_scoped_write_lock.html',1,'serial::Serial']]], 12 | ['serial',['Serial',['../classserial_1_1_serial.html',1,'serial']]], 13 | ['serialimpl',['SerialImpl',['../classserial_1_1_serial_1_1_serial_impl.html',1,'serial::Serial']]] 14 | ]; 15 | -------------------------------------------------------------------------------- /doc/html/search/classes_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['termios2',['termios2',['../structserial_1_1termios2.html',1,'serial']]], 4 | ['thread',['Thread',['../class_thread.html',1,'']]], 5 | ['timeout',['Timeout',['../structserial_1_1_timeout.html',1,'serial']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/classes_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/classes_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ydlidardriver',['YDlidarDriver',['../classydlidar_1_1_y_dlidar_driver.html',1,'ydlidar']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/search/close.png -------------------------------------------------------------------------------- /doc/html/search/enums_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['bytesize_5ft',['bytesize_t',['../namespaceserial.html#a00b3281fa11cea770c0b0c8a106080f8',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enums_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['flowcontrol_5ft',['flowcontrol_t',['../namespaceserial.html#a93ef57a314b4e562f9eded6c15d34351',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enums_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['parity_5ft',['parity_t',['../namespaceserial.html#a8f45d26bf7c9a06659e75b5004a50481',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enums_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enums_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['stopbits_5ft',['stopbits_t',['../namespaceserial.html#af5b116611d6628a3aa8f788fdc09f469',1,'serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['default_5fheart_5fbeat',['DEFAULT_HEART_BEAT',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa94033b4717c83f52cd008fe38b712e21',1,'ydlidar::YDlidarDriver']]], 4 | ['default_5ftimeout',['DEFAULT_TIMEOUT',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa07c79ce96f468ff4b40495ef84584442',1,'ydlidar::YDlidarDriver']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['max_5fscan_5fnodes',['MAX_SCAN_NODES',['../classydlidar_1_1_y_dlidar_driver.html#abbb612f1ac6a9f6dfdcfeafb149dd0daa3db6fc46c7ce55cdf3a968b70e96374a',1,'ydlidar::YDlidarDriver']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ascendscandata',['ascendScanData',['../classydlidar_1_1_y_dlidar_driver.html#a6494501f3fee2f6dc410f869bbc18cb9',1,'ydlidar::YDlidarDriver']]], 4 | ['autoreconnectlidar',['autoReconnectLidar',['../classydlidar_1_1_y_dlidar_driver.html#aeb30a654d8f1b438e7214a78558ecac3',1,'ydlidar::YDlidarDriver']]], 5 | ['available',['available',['../classserial_1_1_serial.html#ab5fae6cebb8e34345ca1f55cbccc4698',1,'serial::Serial']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cachescandata',['cacheScanData',['../classydlidar_1_1_y_dlidar_driver.html#ab462b22dc3a4d39fef4f722345a87d5e',1,'ydlidar::YDlidarDriver']]], 4 | ['checkcomms',['checkCOMMs',['../class_c_yd_lidar.html#ab43ca6b1d054aa464a36bea0d4b7934c',1,'CYdLidar']]], 5 | ['checkhardware',['checkHardware',['../class_c_yd_lidar.html#ab3c24f8f59fee87aa4e829ca5c8f90d2',1,'CYdLidar']]], 6 | ['checkstatus',['checkStatus',['../class_c_yd_lidar.html#a8b401544eb4c992c7eff8d5fd47e5676',1,'CYdLidar']]], 7 | ['checktranstime',['checkTransTime',['../classydlidar_1_1_y_dlidar_driver.html#ae9a739915f16227e21c2616faed42877',1,'ydlidar::YDlidarDriver']]], 8 | ['cleardtr',['clearDTR',['../classydlidar_1_1_y_dlidar_driver.html#a67fe00d7458cdb52b4160d745b8ecd32',1,'ydlidar::YDlidarDriver']]], 9 | ['close',['close',['../classserial_1_1_serial.html#a501082725b61e4baf615266065bbac5f',1,'serial::Serial']]], 10 | ['connect',['connect',['../classydlidar_1_1_y_dlidar_driver.html#a2c5eeecccaa6ed874635de1617e8d7d8',1,'ydlidar::YDlidarDriver']]], 11 | ['createthread',['createThread',['../classydlidar_1_1_y_dlidar_driver.html#a2d2b317fa6381009222e03670812e917',1,'ydlidar::YDlidarDriver']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/search/functions_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['disableconstfreq',['disableConstFreq',['../classydlidar_1_1_y_dlidar_driver.html#ae4b3883dd18bf01737bc4783d2dae974',1,'ydlidar::YDlidarDriver']]], 4 | ['disabledatagrabbing',['disableDataGrabbing',['../classydlidar_1_1_y_dlidar_driver.html#ae66565bee3cdb8b74698b691f2ab1e63',1,'ydlidar::YDlidarDriver']]], 5 | ['disablelowerpower',['disableLowerPower',['../classydlidar_1_1_y_dlidar_driver.html#a18895e94f42ce61890b4912727cdfbd8',1,'ydlidar::YDlidarDriver']]], 6 | ['disconnect',['disconnect',['../classydlidar_1_1_y_dlidar_driver.html#aa26790ae49d33936229fa67739a8ff5f',1,'ydlidar::YDlidarDriver']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/functions_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['enableconstfreq',['enableConstFreq',['../classydlidar_1_1_y_dlidar_driver.html#a1e5c25618be9867dfdb1aa2f5e9cb93c',1,'ydlidar::YDlidarDriver']]], 4 | ['enablelowerpower',['enableLowerPower',['../classydlidar_1_1_y_dlidar_driver.html#a85a9af2aff7201a42f000299990b0ce5',1,'ydlidar::YDlidarDriver']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['flush',['flush',['../classserial_1_1_serial.html#a45a7676a6e6c775cd549e889e714b5bb',1,'serial::Serial']]], 4 | ['flushinput',['flushInput',['../classserial_1_1_serial.html#aa7432cbada95a7eac6d71a107cf2eaa3',1,'serial::Serial']]], 5 | ['flushoutput',['flushOutput',['../classserial_1_1_serial.html#a95e0d6dcf2b7b9aa45225bfb1647c427',1,'serial::Serial']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['getbaudrate',['getBaudrate',['../classserial_1_1_serial.html#a7a6ca1f8d8e68742e95b7f8dc8e9a1fa',1,'serial::Serial']]], 4 | ['getbytesize',['getBytesize',['../classserial_1_1_serial.html#ac735ef88a54659e2d0b3ae674c5f0a41',1,'serial::Serial']]], 5 | ['getbytetime',['getByteTime',['../classserial_1_1_serial.html#a8b7ad05b2521db6bbf184108f59e105e',1,'serial::Serial']]], 6 | ['getcd',['getCD',['../classserial_1_1_serial.html#a5a7c1a8e363b530147970155d0f6fe8d',1,'serial::Serial']]], 7 | ['getcts',['getCTS',['../classserial_1_1_serial.html#a97603438c9ded81a886f914b7a335d7f',1,'serial::Serial']]], 8 | ['getdata',['getData',['../classydlidar_1_1_y_dlidar_driver.html#ad787e714bc05e5a70a42b096e632c60f',1,'ydlidar::YDlidarDriver']]], 9 | ['getdeviceinfo',['getDeviceInfo',['../classydlidar_1_1_y_dlidar_driver.html#ab75303116c4ccb144ecc215e94114e1a',1,'ydlidar::YDlidarDriver']]], 10 | ['getdsr',['getDSR',['../classserial_1_1_serial.html#a91a00816bce6a163ea022b4cf8d4ce0e',1,'serial::Serial']]], 11 | ['getflowcontrol',['getFlowcontrol',['../classserial_1_1_serial.html#ad793526755625a59a0bf9d4cc0ea1755',1,'serial::Serial']]], 12 | ['gethealth',['getHealth',['../classydlidar_1_1_y_dlidar_driver.html#a9fe6f8b842a2aff2c3ae13f8423b03f4',1,'ydlidar::YDlidarDriver']]], 13 | ['getmotorstate',['getMotorState',['../classydlidar_1_1_y_dlidar_driver.html#af5d460ababe4b8a34b02d33268f24d4d',1,'ydlidar::YDlidarDriver']]], 14 | ['getmultiplerate',['getMultipleRate',['../classydlidar_1_1_y_dlidar_driver.html#aeb4019d223331bc5d7ee3fa28c5f7d85',1,'ydlidar::YDlidarDriver']]], 15 | ['getparity',['getParity',['../classserial_1_1_serial.html#a80e5d87b1e93b4c5a9d6f2cc7110b3c4',1,'serial::Serial']]], 16 | ['getport',['getPort',['../classserial_1_1_serial.html#a56eafe1694c92655d79993ce7139f0bf',1,'serial::Serial']]], 17 | ['getri',['getRI',['../classserial_1_1_serial.html#a29a1f68b9a238e9a6a833373855708ce',1,'serial::Serial']]], 18 | ['getsamplingrate',['getSamplingRate',['../classydlidar_1_1_y_dlidar_driver.html#a7b7812329013f119235abf74da397aaa',1,'ydlidar::YDlidarDriver']]], 19 | ['getscanfrequency',['getScanFrequency',['../classydlidar_1_1_y_dlidar_driver.html#a76efb701e137121b213f61028e3f235e',1,'ydlidar::YDlidarDriver']]], 20 | ['getsdkversion',['getSDKVersion',['../classydlidar_1_1_y_dlidar_driver.html#a542dc18ac8dbcda2a51657cf9bd44ae0',1,'ydlidar::YDlidarDriver']]], 21 | ['getstopbits',['getStopbits',['../classserial_1_1_serial.html#a81ee96ec2fdb80d1851430d9e2c4698b',1,'serial::Serial']]], 22 | ['gettimeout',['getTimeout',['../classserial_1_1_serial.html#a13023f118c75b27fa2f0280d2d1c2a20',1,'serial::Serial']]], 23 | ['grabscandata',['grabScanData',['../classydlidar_1_1_y_dlidar_driver.html#a6d6e04efa9d7e5d4aea41ee53d4ea8af',1,'ydlidar::YDlidarDriver']]] 24 | ]; 25 | -------------------------------------------------------------------------------- /doc/html/search/functions_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['isconnected',['isconnected',['../classydlidar_1_1_y_dlidar_driver.html#a918486cdb4f3fbe863ec2e1231168538',1,'ydlidar::YDlidarDriver']]], 4 | ['isopen',['isOpen',['../classserial_1_1_serial.html#a48458f741d0fdcc5623b4daa079cbf78',1,'serial::Serial']]], 5 | ['isscanning',['isscanning',['../classydlidar_1_1_y_dlidar_driver.html#ae37c037538f3acc3e488c7d3bbfcaece',1,'ydlidar::YDlidarDriver']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lidarportlist',['lidarPortList',['../classydlidar_1_1_y_dlidar_driver.html#a11d95d075a221a6f9ea5fee85d692b33',1,'ydlidar::YDlidarDriver']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['open',['open',['../classserial_1_1_serial.html#aa4403ddb51e9d209fd86ed316f0ee9b4',1,'serial::Serial']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['read',['read',['../classserial_1_1_serial.html#a01fc2e3d77cb7d70069de87eca1400e9',1,'serial::Serial::read(uint8_t *buffer, size_t size)'],['../classserial_1_1_serial.html#a3ecd4645c76548ba079eab6f2f46adfb',1,'serial::Serial::read(std::vector< uint8_t > &buffer, size_t size=1)'],['../classserial_1_1_serial.html#ad6c6637fdf8edd85c3a6a63d98fc18f7',1,'serial::Serial::read(std::string &buffer, size_t size=1)'],['../classserial_1_1_serial.html#aa52fbf7d23fb761a46e2400829d2b77a',1,'serial::Serial::read(size_t size=1)']]], 4 | ['readline',['readline',['../classserial_1_1_serial.html#a010b18ec545dfe1a7bb1c95be4bdaa54',1,'serial::Serial::readline(std::string &buffer, size_t size=65536, std::string eol="\n")'],['../classserial_1_1_serial.html#a04177f637cc02f92ec0492d377528b2a',1,'serial::Serial::readline(size_t size=65536, std::string eol="\n")']]], 5 | ['readlines',['readlines',['../classserial_1_1_serial.html#a2ff222081c30ee4343498c6cc5c14b10',1,'serial::Serial']]], 6 | ['reset',['reset',['../classydlidar_1_1_y_dlidar_driver.html#a3dd4086c5685163f7c7487ea0f5af08c',1,'ydlidar::YDlidarDriver']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/functions_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['waitbytetimes',['waitByteTimes',['../classserial_1_1_serial.html#a35c0f6ff20c142a5210dde288731f954',1,'serial::Serial']]], 4 | ['waitforchange',['waitForChange',['../classserial_1_1_serial.html#a9d889dc0ec2cec50a620650f10cf8e83',1,'serial::Serial']]], 5 | ['waitfordata',['waitForData',['../classydlidar_1_1_y_dlidar_driver.html#a13f404b44f51941d1642bfe250de3522',1,'ydlidar::YDlidarDriver']]], 6 | ['waitpackage',['waitPackage',['../classydlidar_1_1_y_dlidar_driver.html#aaf78903693f58c7f739dfa493573b3b1',1,'ydlidar::YDlidarDriver']]], 7 | ['waitreadable',['waitReadable',['../classserial_1_1_serial.html#a59bd8d40309769e8eed91dd3684e0000',1,'serial::Serial']]], 8 | ['waitresponseheader',['waitResponseHeader',['../classydlidar_1_1_y_dlidar_driver.html#a0e089d615193ccef4bf488f63ff8130e',1,'ydlidar::YDlidarDriver']]], 9 | ['waitscandata',['waitScanData',['../classydlidar_1_1_y_dlidar_driver.html#a574996217284ce34191a2f3675a9f17b',1,'ydlidar::YDlidarDriver']]], 10 | ['write',['write',['../classserial_1_1_serial.html#a3275e8456850998c0ac46b2768ab9258',1,'serial::Serial::write(const uint8_t *data, size_t size)'],['../classserial_1_1_serial.html#a9c2827088d82ee82f245ffa106fa7d10',1,'serial::Serial::write(const std::vector< uint8_t > &data)'],['../classserial_1_1_serial.html#a7c92c0307b86a935f6623953eec66460',1,'serial::Serial::write(const std::string &data)'],['../classserial_1_1_serial_1_1_serial_impl.html#adb5572ca568cd0186dec4bc4af28f13b',1,'serial::Serial::SerialImpl::write()']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /doc/html/search/functions_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ydlidardriver',['YDlidarDriver',['../classydlidar_1_1_y_dlidar_driver.html#a19e20b6aa35834507a0dacc8a3c510e6',1,'ydlidar::YDlidarDriver']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/functions_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_7eserial',['~Serial',['../classserial_1_1_serial.html#a071000a2f5f77a40df8311fad5044481',1,'serial::Serial']]], 4 | ['_7eydlidardriver',['~YDlidarDriver',['../classydlidar_1_1_y_dlidar_driver.html#a87a50f9f1093a93b4d985f3e8bf27fde',1,'ydlidar::YDlidarDriver']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/search/mag_sel.png -------------------------------------------------------------------------------- /doc/html/search/namespaces_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/namespaces_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['serial',['serial',['../namespaceserial.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /doc/html/search/pages_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/pages_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ydlidar_20sdk_20package_20v1_2e3_2e9',['YDLIDAR SDK PACKAGE V1.3.9',['../md__home_yang_gaussian_sdk_README.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/search/search_l.png -------------------------------------------------------------------------------- /doc/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/search/search_m.png -------------------------------------------------------------------------------- /doc/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/search/search_r.png -------------------------------------------------------------------------------- /doc/html/search/searchdata.js: -------------------------------------------------------------------------------- 1 | var indexSectionsWithContent = 2 | { 3 | 0: "_abcdefghilmnoprstwy~", 4 | 1: "cdeflmnpsty", 5 | 2: "s", 6 | 3: "acdefgilorswy~", 7 | 4: "_acdefhimprstw", 8 | 5: "bfps", 9 | 6: "dmy", 10 | 7: "y" 11 | }; 12 | 13 | var indexSectionNames = 14 | { 15 | 0: "all", 16 | 1: "classes", 17 | 2: "namespaces", 18 | 3: "functions", 19 | 4: "variables", 20 | 5: "enums", 21 | 6: "enumvalues", 22 | 7: "pages" 23 | }; 24 | 25 | var indexSectionLabels = 26 | { 27 | 0: "All", 28 | 1: "Classes", 29 | 2: "Namespaces", 30 | 3: "Functions", 31 | 4: "Variables", 32 | 5: "Enumerations", 33 | 6: "Enumerator", 34 | 7: "Pages" 35 | }; 36 | 37 | -------------------------------------------------------------------------------- /doc/html/search/variables_0.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_0.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['_5fdataevent',['_dataEvent',['../classydlidar_1_1_y_dlidar_driver.html#afd2b3835a0e450d9b88d28d8f574148d',1,'ydlidar::YDlidarDriver']]], 4 | ['_5flock',['_lock',['../classydlidar_1_1_y_dlidar_driver.html#a1bb836661c8c39c2b71c9a0de8755c5c',1,'ydlidar::YDlidarDriver']]], 5 | ['_5fserial_5flock',['_serial_lock',['../classydlidar_1_1_y_dlidar_driver.html#ac1ace85f37283559d4f2bc2797eea900',1,'ydlidar::YDlidarDriver']]], 6 | ['_5fthread',['_thread',['../classydlidar_1_1_y_dlidar_driver.html#a9fbd1b3471c1aa4959d74524b9a92410',1,'ydlidar::YDlidarDriver']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/variables_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_1.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['ang_5fincrement',['ang_increment',['../struct_laser_config.html#a67279ae0f648a129521576f52c321932',1,'LaserConfig']]], 4 | ['angle_5fq6_5fcheckbit',['angle_q6_checkbit',['../structnode__info.html#a73e1d282a573f3daa74332fe29b90a26',1,'node_info']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/variables_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_2.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['config',['config',['../struct_laser_scan.html#a5c7dd0b85432e62cf319f2ad4ec058b4',1,'LaserScan']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_3.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['description',['description',['../structserial_1_1_port_info.html#a2ba37dd33d47b554aef5c15c1fe8b872',1,'serial::PortInfo']]], 4 | ['device_5fid',['device_id',['../structserial_1_1_port_info.html#af6a8211d14bccb07b538ac584d195466',1,'serial::PortInfo']]], 5 | ['distance_5fq2',['distance_q2',['../structnode__info.html#a82eaf27a6196e803d3618c83b052f78c',1,'node_info']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/variables_4.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_4.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['enable',['enable',['../structscan__heart__beat.html#a2b75f0058448601c590dda44d962d5c9',1,'scan_heart_beat']]], 4 | ['error_5fcode',['error_code',['../structdevice__health.html#a8815828d6de33cb43e8b72da48f51f23',1,'device_health']]], 5 | ['exposure',['exposure',['../structscan__exposure.html#a49591ef660667fcd1c3e1c2f3d764004',1,'scan_exposure']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/variables_5.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_5.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['firmware_5fversion',['firmware_version',['../structdevice__info.html#af3d369a410577d85ec6b59ffeeaade48',1,'device_info']]], 4 | ['frequency',['frequency',['../structscan__frequency.html#ae4f2152e77416cff02f44452355f2808',1,'scan_frequency']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/variables_6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_6.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hardware_5fid',['hardware_id',['../structserial_1_1_port_info.html#a7d55368e1a4e6ccc9da6f4d339524837',1,'serial::PortInfo']]], 4 | ['hardware_5fversion',['hardware_version',['../structdevice__info.html#add77e9b0edbc4a0dbd8f91b0cac9ea13',1,'device_info']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/variables_7.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_7.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['intensities',['intensities',['../struct_laser_scan.html#a6e68040137d787ef7ef47580d147c503',1,'LaserScan']]], 4 | ['inter_5fbyte_5ftimeout',['inter_byte_timeout',['../structserial_1_1_timeout.html#ada15f2a0ae478cbb62ef79d1633b2b81',1,'serial::Timeout']]], 5 | ['isautoconnting',['isAutoconnting',['../classydlidar_1_1_y_dlidar_driver.html#a4fcf172c55eabd5c6ca2d8c2bf14e5c6',1,'ydlidar::YDlidarDriver']]], 6 | ['isautoreconnect',['isAutoReconnect',['../classydlidar_1_1_y_dlidar_driver.html#aa9fe773e62367a784c888d97c1886661',1,'ydlidar::YDlidarDriver']]], 7 | ['isconnected',['isConnected',['../classydlidar_1_1_y_dlidar_driver.html#a4457578961d36ce22035d778c0fd7f06',1,'ydlidar::YDlidarDriver']]], 8 | ['isscanning',['isScanning',['../classydlidar_1_1_y_dlidar_driver.html#a245115a8c8a4f98d988fbee06810d0a4',1,'ydlidar::YDlidarDriver']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/variables_8.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_8.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['max_5fangle',['max_angle',['../struct_laser_config.html#a2d09a717415770110787788127ad6b14',1,'LaserConfig']]], 4 | ['max_5frange',['max_range',['../struct_laser_config.html#a977dcea9a68dc9dd21113fd0eff24c9c',1,'LaserConfig']]], 5 | ['min_5fangle',['min_angle',['../struct_laser_config.html#a0b68f6041dc05310626ef221d4cc2db9',1,'LaserConfig']]], 6 | ['min_5frange',['min_range',['../struct_laser_config.html#a262652da08f505f112be9e017fb43a43',1,'LaserConfig']]], 7 | ['model',['model',['../structdevice__info.html#a3c491b342ed11af3c70358e7e8f6c935',1,'device_info']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/variables_9.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_9.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['port',['port',['../structserial_1_1_port_info.html#a5d4242cdd6c0d01260e24964af4c23d2',1,'serial::PortInfo']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_a.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['range_5fres',['range_res',['../struct_laser_config.html#ae52eb0e0aca41f6dde58700a642e4c80',1,'LaserConfig']]], 4 | ['ranges',['ranges',['../struct_laser_scan.html#a4d059cb77f0f9f6e558db50c9993f7df',1,'LaserScan']]], 5 | ['rate',['rate',['../structsampling__rate.html#a8d860fbedd930d2022fe7bb6cf1f78b6',1,'sampling_rate']]], 6 | ['read_5ftimeout_5fconstant',['read_timeout_constant',['../structserial_1_1_timeout.html#a099244649dec66b6e0548480edeb2b9f',1,'serial::Timeout']]], 7 | ['read_5ftimeout_5fmultiplier',['read_timeout_multiplier',['../structserial_1_1_timeout.html#a64412753eb2edf1621716dd9f1a4e71e',1,'serial::Timeout']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/variables_b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_b.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['scan_5ffrequence',['scan_frequence',['../structnode__info.html#a718a8a2f94497d5edea2be4550f74348',1,'node_info']]], 4 | ['scan_5fnode_5fbuf',['scan_node_buf',['../classydlidar_1_1_y_dlidar_driver.html#ac8ac6e6722dc5dbb5e592036824c2bd8',1,'ydlidar::YDlidarDriver']]], 5 | ['scan_5fnode_5fcount',['scan_node_count',['../classydlidar_1_1_y_dlidar_driver.html#a106fc563bb42f19e84e8d9db1e7856fe',1,'ydlidar::YDlidarDriver']]], 6 | ['scan_5ftime',['scan_time',['../struct_laser_config.html#af40c5e3902bb931e337ea400682e5636',1,'LaserConfig']]], 7 | ['self_5ftime_5fstamp',['self_time_stamp',['../struct_laser_scan.html#ad37e2a54c7eff58cad7576d51916b859',1,'LaserScan']]], 8 | ['serialnum',['serialnum',['../structdevice__info.html#abf23e35480aff36d846085ca6fd0eec3',1,'device_info']]], 9 | ['stamp',['stamp',['../structnode__info.html#a92f30331da1d7d95f9998dcd3886574c',1,'node_info']]], 10 | ['status',['status',['../structdevice__health.html#ac3425f5555ecbb5a0da03b4cabe2777c',1,'device_health']]], 11 | ['system_5ftime_5fstamp',['system_time_stamp',['../struct_laser_scan.html#a1bb6b997ce698fbc516bc20ab3ba3399',1,'LaserScan']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/search/variables_c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['time_5fincrement',['time_increment',['../struct_laser_config.html#ada1a720957176549489916335edcc335',1,'LaserConfig']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /doc/html/search/variables_d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['write_5ftimeout_5fconstant',['write_timeout_constant',['../structserial_1_1_timeout.html#accf01b97f83564f4ce3d6e5f63e21006',1,'serial::Timeout']]], 4 | ['write_5ftimeout_5fmultiplier',['write_timeout_multiplier',['../structserial_1_1_timeout.html#a31ddae32907cff9c3d27fa763981317d',1,'serial::Timeout']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/splitbar.png -------------------------------------------------------------------------------- /doc/html/struct_laser_scan__coll__graph.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /doc/html/struct_laser_scan__coll__graph.md5: -------------------------------------------------------------------------------- 1 | c25fa42db8232fac9727daa9817e25a8 -------------------------------------------------------------------------------- /doc/html/struct_laser_scan__coll__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/struct_laser_scan__coll__graph.png -------------------------------------------------------------------------------- /doc/html/structnode__package__coll__graph.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /doc/html/structnode__package__coll__graph.md5: -------------------------------------------------------------------------------- 1 | 626dc1ec5d7bd5abb99111af8590cf93 -------------------------------------------------------------------------------- /doc/html/structnode__package__coll__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/structnode__package__coll__graph.png -------------------------------------------------------------------------------- /doc/html/structserial_1_1_port_info__coll__graph.map: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /doc/html/structserial_1_1_port_info__coll__graph.md5: -------------------------------------------------------------------------------- 1 | a203d47167a0c048458f15c60414ab4c -------------------------------------------------------------------------------- /doc/html/structserial_1_1_port_info__coll__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/structserial_1_1_port_info__coll__graph.png -------------------------------------------------------------------------------- /doc/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/sync_off.png -------------------------------------------------------------------------------- /doc/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/sync_on.png -------------------------------------------------------------------------------- /doc/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/tab_a.png -------------------------------------------------------------------------------- /doc/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/tab_b.png -------------------------------------------------------------------------------- /doc/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/tab_h.png -------------------------------------------------------------------------------- /doc/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/tab_s.png -------------------------------------------------------------------------------- /doc/html/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; 7 | } 8 | 9 | .tabs2 { 10 | font-size: 10px; 11 | } 12 | .tabs3 { 13 | font-size: 9px; 14 | } 15 | 16 | .tablist { 17 | margin: 0; 18 | padding: 0; 19 | display: table; 20 | } 21 | 22 | .tablist li { 23 | float: left; 24 | display: table-cell; 25 | background-image: url('tab_b.png'); 26 | line-height: 36px; 27 | list-style: none; 28 | } 29 | 30 | .tablist a { 31 | display: block; 32 | padding: 0 20px; 33 | font-weight: bold; 34 | background-image:url('tab_s.png'); 35 | background-repeat:no-repeat; 36 | background-position:right; 37 | color: #283A5D; 38 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 39 | text-decoration: none; 40 | outline: none; 41 | } 42 | 43 | .tabs3 .tablist a { 44 | padding: 0 10px; 45 | } 46 | 47 | .tablist a:hover { 48 | background-image: url('tab_h.png'); 49 | background-repeat:repeat-x; 50 | color: #fff; 51 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 52 | text-decoration: none; 53 | } 54 | 55 | .tablist li.current a { 56 | background-image: url('tab_a.png'); 57 | background-repeat:repeat-x; 58 | color: #fff; 59 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 60 | } 61 | -------------------------------------------------------------------------------- /doc/html/ydliar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/ydliar.png -------------------------------------------------------------------------------- /doc/html/ydlidar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangfuyuan/sdk/a8799b6069ff7ca40c4c193bf753b7c9e4c4b63c/doc/html/ydlidar.png -------------------------------------------------------------------------------- /include/CYdLidar.h: -------------------------------------------------------------------------------- 1 |  2 | #pragma once 3 | #include "utils.h" 4 | #include "ydlidar_driver.h" 5 | #include 6 | 7 | #if !defined(__cplusplus) 8 | #ifndef __cplusplus 9 | #error "The YDLIDAR SDK requires a C++ compiler to be built" 10 | #endif 11 | #endif 12 | #define PropertyBuilderByName(type, name, access_permission)\ 13 | access_permission:\ 14 | type m_##name;\ 15 | public:\ 16 | inline void set##name(type v) {\ 17 | m_##name = v;\ 18 | }\ 19 | inline type get##name() {\ 20 | return m_##name;\ 21 | }\ 22 | 23 | using namespace ydlidar; 24 | 25 | 26 | class YDLIDAR_API CYdLidar { 27 | PropertyBuilderByName(float, MaxRange, private) ///< 设置和获取激光最大测距范围 28 | PropertyBuilderByName(float, MinRange, private) ///< 设置和获取激光最小测距范围 29 | PropertyBuilderByName(float, MaxAngle, 30 | private) ///< 设置和获取激光最大角度, 最大值180度 31 | PropertyBuilderByName(float, MinAngle, 32 | private) ///< 设置和获取激光最小角度, 最小值-180度 33 | PropertyBuilderByName(int, ScanFrequency, 34 | private) ///< 设置和获取激光扫描频率(范围5HZ~12HZ) 35 | 36 | PropertyBuilderByName(bool, Intensities, 37 | private) ///< 设置和获取激光带信号质量(只有S4B雷达支持) 38 | PropertyBuilderByName(bool, FixedResolution, 39 | private) ///< 设置和获取激光是否是固定角度分辨率 40 | PropertyBuilderByName(bool, Exposure, 41 | private) ///< 设置和获取激光时候开启低光功率曝光模式 只有S4雷达支持 42 | PropertyBuilderByName(bool, Reversion, private) ///< 设置和获取是否旋转激光180度 43 | PropertyBuilderByName(bool, AutoReconnect, private) ///< 设置异常是否自动重新连接 44 | 45 | PropertyBuilderByName(int, SerialBaudrate, private) ///< 设置和获取激光通讯波特率 46 | PropertyBuilderByName(int, SampleRate, private) ///< 设置和获取激光采样频率 47 | 48 | PropertyBuilderByName(std::string, SerialPort, private) ///< 设置和获取激光端口号 49 | PropertyBuilderByName(std::vector, IgnoreArray, private) ///< 设置和获取激光剔除点 50 | 51 | 52 | public: 53 | CYdLidar(); //!< Constructor 54 | virtual ~CYdLidar(); //!< Destructor: turns the laser off. 55 | 56 | bool initialize(); //!< Attempts to connect and turns the laser on. Raises an exception on error. 57 | 58 | // Return true if laser data acquistion succeeds, If it's not 59 | bool doProcessSimple(LaserScan &outscan, bool &hardwareError); 60 | 61 | //Turn on the motor enable 62 | bool turnOn(); //!< See base class docs 63 | //Turn off the motor enable and close the scan 64 | bool turnOff(); //!< See base class docs 65 | 66 | /** Returns true if the device is in good health, If it's not*/ 67 | bool getDeviceHealth() const; 68 | 69 | /** Returns true if the device information is correct, If it's not*/ 70 | bool getDeviceInfo(int &type); 71 | 72 | /** Retruns true if the scan frequency is set to user's frequency is successful, If it's not*/ 73 | bool checkScanFrequency(); 74 | 75 | //Turn off lidar connection 76 | void disconnecting(); //!< Closes the comms with the laser. Shouldn't have to be directly needed by the user 77 | 78 | protected: 79 | /** Returns true if communication has been established with the device. If it's not, 80 | * try to create a comms channel. 81 | * \return false on error. 82 | */ 83 | bool checkCOMMs(); 84 | 85 | /** Returns true if health status and device information has been obtained with the device. If it's not, 86 | * \return false on error. 87 | */ 88 | bool checkStatus(); 89 | 90 | /** Returns true if the normal scan runs with the device. If it's not, 91 | * \return false on error. 92 | */ 93 | bool checkHardware(); 94 | 95 | 96 | 97 | private: 98 | bool isScanning; 99 | int node_counts ; 100 | double each_angle; 101 | bool m_isMultipleRate; 102 | double m_FrequencyOffset; 103 | 104 | YDlidarDriver *lidarPtr; 105 | }; // End of class 106 | 107 | -------------------------------------------------------------------------------- /include/Console.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _CONSOLE_H_ 3 | #define _CONSOLE_H_ 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include "v8stdint.h" 13 | 14 | using namespace std; 15 | namespace ydlidar { 16 | #define COLOR_NONE "\033[m" 17 | #define COLOR_RED "\033[1;31m" 18 | #define COLOR_GREEN "\033[1;32m" 19 | #define COLOR_YELLOW "\033[1;33m" 20 | #define COLOR_CYAN "\033[1;36m" 21 | 22 | #define DEBUG_FLAG_FILE "/tmp/ydlidar-debug-flag" 23 | 24 | class Console { 25 | public: 26 | Console() {} 27 | virtual ~Console(void) {} 28 | public: 29 | void 30 | show(const char *message_, ...) { 31 | char out[1024] = { 0 }; 32 | va_list args; 33 | va_start(args, message_); 34 | vsnprintf(out, sizeof(out), message_, args); 35 | va_end(args); 36 | printf(COLOR_GREEN); 37 | printf(out); 38 | printf(COLOR_NONE); 39 | } 40 | void 41 | message(const char *message_, ...) { 42 | char out[1024] = { 0 }; 43 | va_list args; 44 | va_start(args, message_); 45 | vsnprintf(out, sizeof(out), message_, args); 46 | va_end(args); 47 | printf(COLOR_GREEN); 48 | printf("[YDLidar]: "); 49 | printf(out); 50 | printf(COLOR_NONE); 51 | printf("\r\n"); 52 | } 53 | ; 54 | 55 | void 56 | warning(const char *warning_, ...) { 57 | char out[1024] = { 0 }; 58 | va_list args; 59 | va_start(args, warning_); 60 | vsnprintf(out, sizeof(out), warning_, args); 61 | va_end(args); 62 | printf(COLOR_YELLOW); 63 | printf("Warning: "); 64 | printf(out); 65 | printf(COLOR_NONE); 66 | printf("\r\n"); 67 | } 68 | ; 69 | 70 | void 71 | error(const char *error_, ...) { 72 | char out[1024] = { 0 }; 73 | va_list args; 74 | va_start(args, error_); 75 | vsnprintf(out, sizeof(out), error_, args); 76 | va_end(args); 77 | printf(COLOR_RED); 78 | printf("Error: "); 79 | printf(out); 80 | printf(COLOR_NONE); 81 | printf("\r\n"); 82 | } 83 | ; 84 | 85 | void 86 | debug(const char *message_, ...) { 87 | char out[1024] = { 0 }; 88 | va_list args; 89 | 90 | if (access(DEBUG_FLAG_FILE, 0) == 0) { 91 | va_start(args, message_); 92 | vsnprintf(out, sizeof(out), message_, args); 93 | va_end(args); 94 | printf(COLOR_CYAN); 95 | printf(">>> "); 96 | printf(out); 97 | printf(COLOR_NONE); 98 | printf("\r\n"); 99 | } 100 | } 101 | ; 102 | 103 | void debugOn() { 104 | char cmd[1024] = { 0 }; 105 | strcat(cmd, "touch "); 106 | strcat(cmd, DEBUG_FLAG_FILE); 107 | system(cmd); 108 | } 109 | ; 110 | 111 | void debugOff() { 112 | char cmd[1024] = { 0 }; 113 | strcat(cmd, "rm -f "); 114 | strcat(cmd, DEBUG_FLAG_FILE); 115 | system(cmd); 116 | } 117 | ; 118 | 119 | void 120 | dump(unsigned char *ptr_, size_t len_) { 121 | printf(COLOR_YELLOW); 122 | printf("[ "); 123 | 124 | for (size_t i = 0; i < len_; i++) { 125 | printf("%02X ", *(ptr_ + i)); 126 | } 127 | 128 | printf(" ]"); 129 | printf(COLOR_NONE); 130 | printf("\r\n"); 131 | } 132 | }; 133 | 134 | static Console console; 135 | 136 | void 137 | disableStdoutStream(); 138 | 139 | } 140 | 141 | #endif /* _CONSOLE_H_ */ 142 | -------------------------------------------------------------------------------- /include/thread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "v8stdint.h" 3 | 4 | #ifdef _WIN32 5 | #include 6 | #include 7 | #include 8 | #include 9 | #else 10 | #include 11 | #include 12 | #endif 13 | 14 | #define UNUSED(x) (void)x 15 | 16 | #if defined(__ANDROID__) 17 | #define pthread_cancel(x) 0 18 | #endif 19 | 20 | #define CLASS_THREAD(c , x ) Thread::ThreadCreateObjectFunctor(this) 21 | 22 | class Thread { 23 | public: 24 | 25 | template static Thread ThreadCreateObjectFunctor( 26 | CLASS *pthis) { 27 | return createThread(createThreadAux, pthis); 28 | } 29 | 30 | template static _size_t THREAD_PROC createThreadAux( 31 | void *param) { 32 | return (static_cast(param)->*PROC)(); 33 | } 34 | 35 | static Thread createThread(thread_proc_t proc, void *param = NULL) { 36 | Thread thread_(proc, param); 37 | #if defined(_WIN32) 38 | thread_._handle = (_size_t)(_beginthreadex(NULL, 0, (unsigned int (__stdcall *)(void *))proc, param, 39 | 0, NULL)); 40 | #else 41 | assert(sizeof(thread_._handle) >= sizeof(pthread_t)); 42 | 43 | pthread_create((pthread_t *)&thread_._handle, NULL, (void *(*)(void *))proc, param); 44 | #endif 45 | return thread_; 46 | } 47 | 48 | public: 49 | explicit Thread(): _param(NULL), _func(NULL), _handle(0) {} 50 | virtual ~Thread() {} 51 | _size_t getHandle() { 52 | return _handle; 53 | } 54 | int terminate() { 55 | #if defined(_WIN32) 56 | 57 | if (!this->_handle) { 58 | return 0; 59 | } 60 | 61 | if (TerminateThread(reinterpret_cast(this->_handle), -1)) { 62 | CloseHandle(reinterpret_cast(this->_handle)); 63 | this->_handle = NULL; 64 | return 0; 65 | } else { 66 | return -2; 67 | } 68 | 69 | #else 70 | 71 | if (!this->_handle) { 72 | return 0; 73 | } 74 | 75 | return pthread_cancel((pthread_t)this->_handle); 76 | #endif 77 | } 78 | void *getParam() { 79 | return _param; 80 | } 81 | int join(unsigned long timeout = -1) { 82 | if (!this->_handle) { 83 | return 0; 84 | } 85 | 86 | #if defined(_WIN32) 87 | 88 | switch (WaitForSingleObject(reinterpret_cast(this->_handle), timeout)) { 89 | case WAIT_OBJECT_0: 90 | CloseHandle(reinterpret_cast(this->_handle)); 91 | this->_handle = NULL; 92 | return 0; 93 | 94 | case WAIT_ABANDONED: 95 | return -2; 96 | 97 | case WAIT_TIMEOUT: 98 | return -1; 99 | } 100 | 101 | #else 102 | UNUSED(timeout); 103 | pthread_join((pthread_t)(this->_handle), NULL); 104 | #endif 105 | return 0; 106 | } 107 | 108 | bool operator== (const Thread &right) { 109 | return this->_handle == right._handle; 110 | } 111 | protected: 112 | explicit Thread(thread_proc_t proc, void *param): _param(param), _func(proc), _handle(0) {} 113 | void *_param; 114 | thread_proc_t _func; 115 | _size_t _handle; 116 | }; 117 | 118 | -------------------------------------------------------------------------------- /include/timer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "v8stdint.h" 3 | #include 4 | #include 5 | #include 6 | 7 | 8 | 9 | #define BEGIN_STATIC_CODE( _blockname_ ) \ 10 | static class _static_code_##_blockname_ { \ 11 | public: \ 12 | _static_code_##_blockname_ () 13 | 14 | 15 | #define END_STATIC_CODE( _blockname_ ) \ 16 | } _instance_##_blockname_; 17 | 18 | 19 | #if defined(_WIN32) 20 | #include 21 | #define delay(x) ::Sleep(x) 22 | #else 23 | #include 24 | #include 25 | 26 | static inline void delay(uint32_t ms) { 27 | while (ms >= 1000) { 28 | usleep(1000 * 1000); 29 | ms -= 1000; 30 | }; 31 | 32 | if (ms != 0) { 33 | usleep(ms * 1000); 34 | } 35 | } 36 | #endif 37 | 38 | 39 | namespace impl { 40 | 41 | #if defined(_WIN32) 42 | void HPtimer_reset(); 43 | #endif 44 | uint32_t getHDTimer(); 45 | TTimeStamp getCurrentTime(); 46 | } 47 | 48 | 49 | #define getms() impl::getHDTimer() 50 | #define getTime() impl::getCurrentTime() 51 | -------------------------------------------------------------------------------- /include/utils.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma once 3 | 4 | #ifdef WIN32 5 | #ifdef ydlidar_IMPORTS 6 | #define YDLIDAR_API __declspec(dllimport) 7 | #else 8 | #ifdef ydlidarStatic_IMPORTS 9 | #define YDLIDAR_API 10 | #else 11 | 12 | #define YDLIDAR_API __declspec(dllexport) 13 | #endif // YDLIDAR_STATIC_EXPORTS 14 | #endif 15 | 16 | #else 17 | #define YDLIDAR_API 18 | #endif // ifdef WIN32 19 | -------------------------------------------------------------------------------- /samples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8) 3 | PROJECT(ydlidar_test) 4 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 5 | add_definitions(-std=c++11) # Use C++11 6 | 7 | 8 | #Include directories 9 | INCLUDE_DIRECTORIES( 10 | ${CMAKE_SOURCE_DIR} 11 | ${CMAKE_SOURCE_DIR}/../ 12 | ${CMAKE_CURRENT_BINARY_DIR} 13 | ) 14 | 15 | SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) 16 | ADD_EXECUTABLE(${PROJECT_NAME} 17 | main.cpp) 18 | 19 | # Add the required libraries for linking: 20 | TARGET_LINK_LIBRARIES(${PROJECT_NAME} ydlidar_driver) 21 | -------------------------------------------------------------------------------- /src/Console.cpp: -------------------------------------------------------------------------------- 1 | #include "Console.h" 2 | 3 | namespace ydlidar { 4 | void 5 | disableStdoutStream() { 6 | std::cout.setstate(std::ios::failbit); 7 | std::cerr.setstate(std::ios::failbit); 8 | }; 9 | 10 | } /* namespace ydlidar */ 11 | -------------------------------------------------------------------------------- /src/common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if defined(_WIN32) 4 | #include "impl\windows\win.h" 5 | #include "impl\windows\win_serial.h" 6 | #elif defined(__GNUC__) 7 | #include "impl/unix/unix.h" 8 | #include "impl/unix/unix_serial.h" 9 | #else 10 | #error "unsupported target" 11 | #endif 12 | 13 | #include "locker.h" 14 | #include "serial.h" 15 | #include "thread.h" 16 | #include "timer.h" 17 | #include "Console.h" 18 | 19 | #define SDKVerision "1.3.9" 20 | -------------------------------------------------------------------------------- /src/impl/unix/unix.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | // libc dep 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | // libc++ dep 13 | #include 14 | #include 15 | 16 | // linux specific 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | #include 27 | 28 | -------------------------------------------------------------------------------- /src/impl/unix/unix_serial.h: -------------------------------------------------------------------------------- 1 | #if !defined(_WIN32) 2 | 3 | #ifndef SERIAL_IMPL_UNIX_H 4 | #define SERIAL_IMPL_UNIX_H 5 | 6 | #include 7 | #include 8 | #include 9 | #include "serial.h" 10 | 11 | namespace serial { 12 | 13 | using std::size_t; 14 | using std::string; 15 | 16 | 17 | class MillisecondTimer { 18 | public: 19 | explicit MillisecondTimer(const uint32_t millis); 20 | int64_t remaining(); 21 | 22 | private: 23 | static timespec timespec_now(); 24 | timespec expiry; 25 | }; 26 | 27 | class Serial::SerialImpl { 28 | public: 29 | explicit SerialImpl(const string &port, 30 | unsigned long baudrate, 31 | bytesize_t bytesize, 32 | parity_t parity, 33 | stopbits_t stopbits, 34 | flowcontrol_t flowcontrol); 35 | 36 | virtual ~SerialImpl(); 37 | 38 | bool open(); 39 | 40 | void close(); 41 | 42 | bool isOpen() const; 43 | 44 | size_t available(); 45 | 46 | bool waitReadable(uint32_t timeout); 47 | 48 | void waitByteTimes(size_t count); 49 | 50 | int waitfordata(size_t data_count, uint32_t timeout, size_t *returned_size); 51 | 52 | size_t read(uint8_t *buf, size_t size = 1); 53 | 54 | size_t write(const uint8_t *data, size_t length); 55 | 56 | 57 | void flush(); 58 | 59 | void flushInput(); 60 | 61 | void flushOutput(); 62 | 63 | void sendBreak(int duration); 64 | 65 | bool setBreak(bool level); 66 | 67 | bool setRTS(bool level); 68 | 69 | bool setDTR(bool level); 70 | 71 | bool waitForChange(); 72 | 73 | bool getCTS(); 74 | 75 | bool getDSR(); 76 | 77 | bool getRI(); 78 | 79 | bool getCD(); 80 | 81 | uint32_t getByteTime(); 82 | 83 | void setPort(const string &port); 84 | 85 | string getPort() const; 86 | 87 | void setTimeout(Timeout &timeout); 88 | 89 | Timeout getTimeout() const; 90 | 91 | bool setBaudrate(unsigned long baudrate); 92 | 93 | bool setStandardBaudRate(speed_t baudrate); 94 | 95 | bool setCustomBaudRate(unsigned long baudrate); 96 | 97 | unsigned long getBaudrate() const; 98 | 99 | bool setBytesize(bytesize_t bytesize); 100 | 101 | bytesize_t getBytesize() const; 102 | 103 | bool setParity(parity_t parity); 104 | 105 | parity_t getParity() const; 106 | 107 | bool setStopbits(stopbits_t stopbits); 108 | 109 | stopbits_t getStopbits() const; 110 | 111 | bool setFlowcontrol(flowcontrol_t flowcontrol); 112 | 113 | flowcontrol_t getFlowcontrol() const; 114 | 115 | bool setTermios(const termios *tio); 116 | 117 | bool getTermios(termios *tio); 118 | 119 | int readLock(); 120 | 121 | int readUnlock(); 122 | 123 | int writeLock(); 124 | 125 | int writeUnlock(); 126 | 127 | 128 | private: 129 | string port_; // Path to the file descriptor 130 | int fd_; // The current file descriptor 131 | pid_t pid; 132 | 133 | bool is_open_; 134 | bool xonxoff_; 135 | bool rtscts_; 136 | 137 | Timeout timeout_; // Timeout for read operations 138 | unsigned long baudrate_; // Baudrate 139 | uint32_t byte_time_ns_; // Nanoseconds to transmit/receive a single byte 140 | 141 | parity_t parity_; // Parity 142 | bytesize_t bytesize_; // Size of the bytes 143 | stopbits_t stopbits_; // Stop Bits 144 | flowcontrol_t flowcontrol_; // Flow Control 145 | 146 | // Mutex used to lock the read functions 147 | pthread_mutex_t read_mutex; 148 | // Mutex used to lock the write functions 149 | pthread_mutex_t write_mutex; 150 | }; 151 | 152 | } 153 | 154 | #endif // SERIAL_IMPL_UNIX_H 155 | 156 | #endif // !defined(_WIN32) 157 | -------------------------------------------------------------------------------- /src/impl/unix/unix_timer.cpp: -------------------------------------------------------------------------------- 1 | #if !defined(_WIN32) 2 | #include "timer.h" 3 | 4 | namespace impl { 5 | uint32_t getHDTimer() { 6 | struct timespec t; 7 | t.tv_sec = t.tv_nsec = 0; 8 | clock_gettime(CLOCK_MONOTONIC, &t); 9 | return t.tv_sec * 1000L + t.tv_nsec / 1000000L; 10 | } 11 | TTimeStamp getCurrentTime() { 12 | #if HAS_CLOCK_GETTIME 13 | struct timespec tim; 14 | clock_gettime(CLOCK_REALTIME, &tim); 15 | return (TTimeStamp)(tim.tv_sec * 1000000000LL + tim.tv_nsec); 16 | #else 17 | struct timeval timeofday; 18 | gettimeofday(&timeofday, NULL); 19 | return (TTimeStamp)(timeofday.tv_sec * 1000000000LL + timeofday.tv_usec * 1000); 20 | #endif 21 | } 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /src/impl/windows/win.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/impl/windows/win_serial.h: -------------------------------------------------------------------------------- 1 | #if defined(_WIN32) 2 | 3 | #ifndef SERIAL_IMPL_WINDOWS_H 4 | #define SERIAL_IMPL_WINDOWS_H 5 | 6 | #include "serial.h" 7 | #include "time.h" 8 | #include 9 | 10 | #ifndef UNICODE 11 | #define UNICODE 12 | #define UNICODE_WAS_UNDEFINED 13 | #endif 14 | #include "windows.h" 15 | 16 | #ifndef UNICODE_WAS_UNDEFINED 17 | #undef UNICODE 18 | #endif 19 | 20 | namespace serial { 21 | 22 | using std::string; 23 | using std::wstring; 24 | using std::invalid_argument; 25 | 26 | 27 | class Serial::SerialImpl { 28 | public: 29 | explicit SerialImpl(const string &port, 30 | unsigned long baudrate, 31 | bytesize_t bytesize, 32 | parity_t parity, 33 | stopbits_t stopbits, 34 | flowcontrol_t flowcontrol); 35 | 36 | virtual ~SerialImpl(); 37 | 38 | bool open(); 39 | 40 | void close(); 41 | 42 | bool isOpen() const; 43 | 44 | size_t available(); 45 | 46 | bool waitReadable(uint32_t timeout); 47 | 48 | void waitByteTimes(size_t count); 49 | 50 | int waitfordata(size_t data_count, uint32_t timeout, size_t *returned_size); 51 | 52 | size_t read(uint8_t *buf, size_t size = 1); 53 | 54 | size_t write(const uint8_t *data, size_t length); 55 | 56 | void flush(); 57 | 58 | void flushInput(); 59 | 60 | void flushOutput(); 61 | 62 | void sendBreak(int duration); 63 | 64 | bool setBreak(bool level); 65 | 66 | bool setRTS(bool level); 67 | 68 | bool setDTR(bool level); 69 | 70 | bool waitForChange(); 71 | 72 | bool getCTS(); 73 | 74 | bool getDSR(); 75 | 76 | bool getRI(); 77 | 78 | bool getCD(); 79 | 80 | uint32_t getByteTime(); 81 | 82 | void setPort(const string &port); 83 | 84 | string getPort() const; 85 | 86 | void setTimeout(Timeout &timeout); 87 | 88 | Timeout getTimeout() const; 89 | 90 | bool setBaudrate(unsigned long baudrate); 91 | 92 | unsigned long getBaudrate() const; 93 | 94 | bool setBytesize(bytesize_t bytesize); 95 | 96 | bytesize_t getBytesize() const; 97 | 98 | bool setParity(parity_t parity); 99 | 100 | parity_t getParity() const; 101 | 102 | bool setStopbits(stopbits_t stopbits); 103 | 104 | stopbits_t getStopbits() const; 105 | 106 | bool setFlowcontrol(flowcontrol_t flowcontrol); 107 | 108 | flowcontrol_t getFlowcontrol() const; 109 | 110 | 111 | bool setDcb(DCB *dcb); 112 | 113 | 114 | bool getDcb(DCB *dcb); 115 | 116 | int readLock(); 117 | 118 | int readUnlock(); 119 | 120 | int writeLock(); 121 | 122 | int writeUnlock(); 123 | 124 | protected: 125 | bool reconfigurePort(); 126 | 127 | public: 128 | enum { 129 | DEFAULT_RX_BUFFER_SIZE = 2048, 130 | DEFAULT_TX_BUFFER_SIZE = 128, 131 | }; 132 | 133 | 134 | private: 135 | wstring port_; // Path to the file descriptor 136 | HANDLE fd_; 137 | OVERLAPPED _wait_o; 138 | 139 | OVERLAPPED communicationOverlapped; 140 | OVERLAPPED readCompletionOverlapped; 141 | OVERLAPPED writeCompletionOverlapped; 142 | DWORD originalEventMask; 143 | DWORD triggeredEventMask; 144 | 145 | COMMTIMEOUTS currentCommTimeouts; 146 | COMMTIMEOUTS restoredCommTimeouts; 147 | 148 | bool is_open_; 149 | 150 | Timeout timeout_; // Timeout for read operations 151 | unsigned long baudrate_; // Baudrate 152 | uint32_t byte_time_ns_; // Nanoseconds to transmit/receive a single byte 153 | 154 | parity_t parity_; // Parity 155 | bytesize_t bytesize_; // Size of the bytes 156 | stopbits_t stopbits_; // Stop Bits 157 | flowcontrol_t flowcontrol_; // Flow Control 158 | 159 | // Mutex used to lock the read functions 160 | HANDLE read_mutex; 161 | // Mutex used to lock the write functions 162 | HANDLE write_mutex; 163 | }; 164 | 165 | } 166 | 167 | #endif // SERIAL_IMPL_WINDOWS_H 168 | 169 | #endif // if defined(_WIN32) 170 | -------------------------------------------------------------------------------- /src/impl/windows/win_timer.cpp: -------------------------------------------------------------------------------- 1 | #if defined(_WIN32) 2 | #include "timer.h" 3 | #include 4 | #pragma comment(lib, "Winmm.lib") 5 | 6 | namespace impl { 7 | 8 | static LARGE_INTEGER _current_freq; 9 | 10 | void HPtimer_reset() { 11 | BOOL ans = QueryPerformanceFrequency(&_current_freq); 12 | _current_freq.QuadPart /= 1000; 13 | } 14 | 15 | uint32_t getHDTimer() { 16 | LARGE_INTEGER current; 17 | QueryPerformanceCounter(¤t); 18 | 19 | return (uint32_t)(current.QuadPart / (_current_freq.QuadPart)); 20 | } 21 | 22 | TTimeStamp getCurrentTime() { 23 | FILETIME t; 24 | GetSystemTimeAsFileTime(&t); 25 | return ((((uint64_t)t.dwHighDateTime) << 32) | ((uint64_t)t.dwLowDateTime)) * 100; 26 | } 27 | 28 | 29 | BEGIN_STATIC_CODE(timer_cailb) { 30 | HPtimer_reset(); 31 | } END_STATIC_CODE(timer_cailb) 32 | 33 | } 34 | #endif 35 | --------------------------------------------------------------------------------