#include <rplidar_driver_TCP.h>

Public Member Functions | |
| virtual u_result | connect (const char *ipStr, _u32 port, _u32 flag=0) |
| virtual void | disconnect () |
| Disconnect with the RPLIDAR and close the serial port. | |
| RPlidarDriverTCP () | |
| virtual | ~RPlidarDriverTCP () |
Definition at line 74 of file rplidar_driver_TCP.h.
Definition at line 2223 of file rplidar_driver.cpp.
Definition at line 2228 of file rplidar_driver.cpp.
| u_result rp::standalone::rplidar::RPlidarDriverTCP::connect | ( | const char * | , |
| _u32 | , | ||
| _u32 | flag = 0 |
||
| ) | [virtual] |
Open the specified serial port and connect to a target RPLIDAR device
| port_path | the device path of the serial port e.g. on Windows, it may be com3 or \. on Unix-Like OS, it may be /dev/ttyS1, /dev/ttyUSB2, etc |
| baudrate | the baudrate used For most RPLIDAR models, the baudrate should be set to 115200 |
| flag | other flags Reserved for future use, always set to Zero |
Implements rp::standalone::rplidar::RPlidarDriver.
Definition at line 2241 of file rplidar_driver.cpp.
| void rp::standalone::rplidar::RPlidarDriverTCP::disconnect | ( | ) | [virtual] |
Disconnect with the RPLIDAR and close the serial port.
Implements rp::standalone::rplidar::RPlidarDriver.
Definition at line 2234 of file rplidar_driver.cpp.