Public Member Functions
rp::standalone::rplidar::RPlidarDriverSerial Class Reference

#include <rplidar_driver_serial.h>

Inheritance diagram for rp::standalone::rplidar::RPlidarDriverSerial:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual u_result connect (const char *port_path, _u32 baudrate, _u32 flag=0)
virtual void disconnect ()
 Disconnect with the RPLIDAR and close the serial port.
 RPlidarDriverSerial ()
virtual ~RPlidarDriverSerial ()

Detailed Description

Definition at line 95 of file rplidar_driver_serial.h.


Constructor & Destructor Documentation

Definition at line 2179 of file rplidar_driver.cpp.

Definition at line 2184 of file rplidar_driver.cpp.


Member Function Documentation

u_result rp::standalone::rplidar::RPlidarDriverSerial::connect ( const char *  ,
_u32  ,
_u32  flag = 0 
) [virtual]

Open the specified serial port and connect to a target RPLIDAR device

Parameters:
port_paththe 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
baudratethe baudrate used For most RPLIDAR models, the baudrate should be set to 115200
flagother flags Reserved for future use, always set to Zero

Implements rp::standalone::rplidar::RPlidarDriver.

Definition at line 2199 of file rplidar_driver.cpp.

Disconnect with the RPLIDAR and close the serial port.

Implements rp::standalone::rplidar::RPlidarDriver.

Definition at line 2193 of file rplidar_driver.cpp.


The documentation for this class was generated from the following files:


rplidar_ros
Author(s):
autogenerated on Mon Mar 18 2019 02:34:23