Atlas Robotics
Lesson 1/6 · about 10 min

Goal: run the robot and view 3D LiDAR

At the end of the course, the Atlas3D robot builds a 3D map as shown below and then navigates on it. This module builds the first step of the chain on your computer: the robot in the Gazebo, LiDAR 3D scanning 10 times per second, steering with the keyboard.

Three saved maps from scans with FAST-LIO2 + PGO. The robot runs back to the exact recorded positions while scanning.

MapOriginal points in map.pcdKeyframeDistance
Hill terrain terrain/run_013 710 742314174 m
Warehouse warehouse/run_023 174 15722894 m
3-storey car park parking/run_014 372 379378175 m

Web map filtered voxel (each 6–15 cm cell holds 1 point), remaining 390–750 thousand points; The original map is 5–11 times thicker. Keyframe are the robot locations selected by SLAM for mapping, about 0.5 m per location, stored in poses.txt. Scan and save map: M01. Keyframe and PGO: M09.

Composite map from scans like this

Each map above is compiled from hundreds of LiDAR scans. Below are one scans, taken when the robot stands at the starting point of the terrain world, similar to the image you see in RViz in lesson 3.

What are you looking at

LiDAR on the robot is modeled after Velodyne VLP-16: 16 laser beams stacked vertically, from −15° to +15°, each beam 2° apart. The whole block rotates, each round taking 1,800 horizontal samples. One scan thus has 16 × 1 800 = 28 800 points, emitted 10 times per second on topic /velodyne_points.

In the scan above there are only 23 722 valid points. The rest are rays that hit nothing within a range of 100 m, mostly rays that slant skyward: choosing ray 15 (+15°) will see that only about a quarter of its points hit trees or hills.

Blind area around robot

The scanning center is 0.778 m high. The lowest ray is angled down 15°, so on flat ground it hits the ground at a distance

0.778 / tan(15°) = 2.90 m

Within that circle LiDAR does not see the ground (orange area in the scene). The closest point in the real scan is 2.76 m from the robot, slightly closer than 2.90 m because the ground around the starting point is not absolutely flat. This figure will return in Part D: a low rock close to the robot is not seen by the LiDAR.

What does this module have?

LessonTaskExpected result
1. Check that your computer meets the requirementsCompare configuration, run check_env.shLiDAR simulation reaches 10 Hz, RTF ≈ 1.0
2. Install ROS 2, Gazebo and build workspaceInstall ROS 2 Humble, Gazebo Fortress, dependent packages; build workspacecolcon build finished without errors, 11 packages of the course
3. Open the simulation in Gazebo and RVizbringup.launch.pyGazebo has robot on hill road, RViz has point cloud
4. Drive the robot and check sensor datateleop, ros2 topic hz, ros2 topic info/velodyne_points ~10 Hz, /imu/data ~200 Hz, exactly 1 publisher per topic
5. ExerciseMachine and sensor reportingYour own measurement chart

Course structure

PartContent
A · M00–M02Run the entire map scan sequence → save → relocalization → navigate autonomously using available commands
B · M03–M06Robot, sensor, point cloud, 3D pose, measuring error compared to ground truth
C · M07–M10SLAM 3D: LiDAR odometry, FAST-LIO2, loop closure, relocalization
D · M11–M143D navigation: traversability map, Nav2 on slopes and floors, capstone

The LiDAR simulation mechanism in Gazebo and the 16 × 1 800 grid structure of the point cloud are presented in M03 and M04.

Goal: run the robot and see the 3D LiDAR · Module 0: Install & run the simulation — Atlas Robotics