Skip to content

an (Arduino) library for the RPlidar (A1M8 specifically) and the ESP32

Notifications You must be signed in to change notification settings

thijses/rplidar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an arduino (ESP32) library for the rplidar

an (Arduino) library for the RPlidar (A1M8 specifically) and the ESP32

handles all 4 communication protocols layed out by the Slamtec protocol documentation:

  • standard scan (2kHz)
  • express legacy (4kHz)
  • express extended (8kHz)
  • express dense (8kHz)

Only tested on the A1M8 on firmware version 1.29 (see source files for getLidarConf() results) I couldn't find any libraries for RPlidars that actually support all data types. I bought an A1M8 for a university self-driving racing project, and i'm using it to detect cones (for SLAM and stuff).

still todo:

  • better documentation/examples/comments
  • constant name translation functions (going backwards from 0x84 to "RESP_DESCR_SENDMODE_DATATYPE_EXPRESS_EXTEND")
  • motor PID?
  • make debug printing optional????? (nah)

About

an (Arduino) library for the RPlidar (A1M8 specifically) and the ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages