Skip to content

Commit

Permalink
Compatible with previous type definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
deyouslamtec committed Jun 21, 2023
1 parent 666a3d4 commit 72d5868
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sdk/include/rplidar_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ namespace rp { namespace standalone{ namespace rplidar {
using namespace sl;
typedef LidarScanMode RplidarScanMode;

//enum {
// DRIVER_TYPE_SERIALPORT = 0x0,
// DRIVER_TYPE_TCP = 0x1,
// DRIVER_TYPE_UDP = 0x2,
//};
enum {
DRIVER_TYPE_SERIALPORT = 0x0,
DRIVER_TYPE_TCP = 0x1,
DRIVER_TYPE_UDP = 0x2,
};

class RPlidarDriver {
public:
enum {
Expand Down

0 comments on commit 72d5868

Please sign in to comment.