Inside AI
← Build & Hack
Proposed build / Experimental/DIY Hardware

Draw your first room scan with the RPLIDAR C1

Bench procedure adapted from SLAMTEC’s ROS 2 example. The first observable result is a board moving in a live scan. Inside AI has not run it on hardware.

Device profile · SLAMTEC RPLIDAR C1 (C1M1) ↗
Start with the documented setup

This is a proposed workflow. Follow the linked official setup, then use the checks below to decide whether it works on your hardware.

Black cylindrical RPLIDAR C1 on a square printed base, with its cable looping down the right side.
The square base below the scanner is xwing’s custom 3D-printed mount. Resized from the photograph in “Support for RPlidar c1” and converted to WebP. Hardware reference for this proposed build; not a result from our test. © xwing · CC BY 4.0 ↗

Connect one scanner

Use a compatible Linux host with a ROS 2 desktop installation, RViz and colcon. Match the USB adapter and data cable to your actual kit. Place the C1 on a level, stable surface with a clear scan window. Connect it and identify its serial port.

Start the vendor’s C1 viewer

Build the sllidar_ros2 package as described in its README, source the workspace and give your user access to the serial device. The C1 example defaults to /dev/ttyUSB0, 460800 baud and the laser frame. Supply serial_port:= followed by the actual device path when it differs.

ros2 launch sllidar_ros2 view_sllidar_c1_launch.py

Check the geometry

Move a flat opaque board across the sweep, then take it away. Look for a short trace moving while the distant wall stays still. In a second sourced shell, measure the scan message rate. An empty display calls for checking serial access, the correct launch file and the RViz fixed frame before experimenting with mapping.

ros2 topic hz /scan

Add a moving platform

For a proposed floor map, mount the scanner rigidly and measure its pose relative to the cart base. Supply a timestamped odometry-to-base transform from an independent motion estimator such as wheel encoders. Give SLAM Toolbox both that transform and the scan. Save the occupancy grid and compare it with measured room features.

Primary sources

SLAMTEC · C1 development kit user manual v1.1 SLAMTEC · ROS 2 driver and setup SLAMTEC · C1 RViz launch file SLAM Toolbox · Mapping inputs and outputs Cover photograph license · CC BY 4.0