Super bare bones, but might help someone. Seems to work with the A2M6 I got from Seeed Studio.
- 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.
- Download the code
- Open the Xcode project
- Build and Run