Skip to content

Commit

Permalink
适配SCL雷达
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanyiaini committed May 19, 2023
1 parent ce0c8ef commit cefbe59
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 64 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(ydlidar_sdk C CXX)
# version
set(YDLIDAR_SDK_VERSION_MAJOR 1)
set(YDLIDAR_SDK_VERSION_MINOR 1)
set(YDLIDAR_SDK_VERSION_PATCH 10)
set(YDLIDAR_SDK_VERSION_PATCH 11)
set(YDLIDAR_SDK_VERSION ${YDLIDAR_SDK_VERSION_MAJOR}.${YDLIDAR_SDK_VERSION_MINOR}.${YDLIDAR_SDK_VERSION_PATCH})

##########################################################
Expand Down
4 changes: 2 additions & 2 deletions src/CYdLidar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "core/common/ydlidar_help.h"
#include "YDlidarDriver.h"
#include "ETLidarDriver.h"
#include "GS2LidarDriver.h"
#include "GSLidarDriver.h"
#include "SDMLidarDriver.h"

using namespace std;
Expand Down Expand Up @@ -1729,7 +1729,7 @@ bool CYdLidar::checkCOMMs()
if (isNetTOFLidar(m_LidarType))
lidarPtr = new ydlidar::ETLidarDriver(); //T15
else if (isGS2Lidar(m_LidarType)) //GS2
lidarPtr = new ydlidar::GS2LidarDriver();
lidarPtr = new ydlidar::GSLidarDriver();
else if (isSDMLidar(m_LidarType)) //SDM
lidarPtr = new ydlidar::SDMLidarDriver();
else //通用雷达
Expand Down
Loading

0 comments on commit cefbe59

Please sign in to comment.