Skip to content

Commit

Permalink
Added CAMSENSE_X1 to all-lidars example
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai authored Jan 14, 2025
1 parent a4b2398 commit 8d3c648
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const uint8_t LIDAR_GPIO_PWM = 15;// ESP32 GPIO connected to Lidar PWM pin
//#define LDROBOT_LD14P
//#define YDLIDAR_X4
//#define YDLIDAR_X4_PRO
//#define CAMSENSE_X1


const uint32_t SERIAL_MONITOR_BAUD = 115200;
Expand Down Expand Up @@ -85,6 +86,8 @@ void setupLidar() {
lidar = new LDS_YDLIDAR_X4();
#elif defined(YDLIDAR_X4_PRO)
lidar = new LDS_YDLIDAR_X4_PRO();
#elif defined(CAMSENSE_X1)
lidar = new LDS_CAMSENSE_X1();
#else
#error "Define a Lidar model"
#endif
Expand Down

0 comments on commit 8d3c648

Please sign in to comment.