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

#include <rplidar_driver_TCP.h>

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

List of all members.

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 ()

Detailed Description

Definition at line 74 of file rplidar_driver_TCP.h.


Constructor & Destructor Documentation

Definition at line 2223 of file rplidar_driver.cpp.

Definition at line 2228 of file rplidar_driver.cpp.


Member Function Documentation

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

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 2241 of file rplidar_driver.cpp.

Disconnect with the RPLIDAR and close the serial port.

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

Definition at line 2234 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