/RPLIDARDemo

Quick and dirty macOS-native Swift demo app for the Slamtec RPLIDAR.

Primary LanguageC++MIT LicenseMIT

macOS Swift Slamtec RPLIDAR Demo App

Super bare bones, but might help someone. Seems to work with the A2M6 I got from Seeed Studio.

RPLIDAR A2

Demo App Screenshot

Issues

  • Serial port is hard-coded to /dev/tty.SLAB_USBtoUART. See -[SlamtecRPLidar connect:] to change it if you need to.
  • Resize the window once to get the scaling right.
  • Even so, there’s something wrong about the ranging. The rings are supposed to be on one-meter intervals.

Build Instructions

  1. Download the code
  2. Open the Xcode project
  3. Build and Run