Atlas Robotics
Lesson 6/6 · about 30 min

Exercise: reports machine and sensor configuration

Record your own measurements. This table is used throughout the course: when a subsequent exercise is slow or incorrect, the first thing to do is compare it.

What to submit

  • SUMMARY of check_env.sh
  • An RViz image with point cloud VLP-16
  • Measurement tables for exercises 2 and 3 below, with short answers

Lesson 1 — Machine configuration

bash ~/atlas_sim3D/tools/check_env.sh

Copy the entire part from line TÓM TẮT down. If there is [CẢNH BÁO] or [LỖI], write down how you handled it or why you ignored it.

Lesson 2 — Frequency and RTF

Open terrain.sdf twice: once with Gazebo window, once headless:=true. Measure each topic one at a time, then fill in the table:

With Gazebo windowheadless:=true
RTF (ign topic -e -t /stats -n 1, taken 3 times, averaged)
/velodyne_points (Hz)
/imu/data (Hz)
Publisher count of the above 2 topics

Answer:

  1. Gets the measured frequency divided by RTF. Are the results close to 10 Hz and 200 Hz?
  2. How much does Gazebo window reduce RTF on your computer? From there, in what mode will you run the following lessons?

For comparison: dev machine, terrain, no Gazebo window, measured RTF 0.97, /velodyne_points 9.4 Hz, /imu/data 192 Hz.

Lesson 3 — What LiDAR sees in each world

Repo has a built-in tool to capture a scan while playing and print statistics (this is also the tool that created the 3D scene in lesson 0):

python3 tools/web_export/export_scan.py /tmp/scan.bin
/tmp/scan.bin: 23722/28800 điểm, frame velodyne_link, xa nhất 99.9 m, gần nhất 2.76 m

Run it at the starting position of three worlds empty, warehouse, terrain (open one world at a time, run the command, then close it completely before opening the next world). Fill in the table:

WorldValue points / 28 800Farthest (m)Nearest (m)
empty
warehouse
terrain23 72299.92.76

Answer:

  1. Which World has the most valuable points? Why? (Hint: what do rays that slant into the sky hit?)
  2. In one world, the nearest point is less than 2.90 m from the robot, which is closer than the blind area calculated in lesson 0. Why is there no contradiction? What kind of object can LiDAR see even in the blind area, but what kind of object cannot?

Questions with answers (click to see)

What are three things that must be checked for each sensor topic before measuring?

Has data, correct frequency, correct source (publisher count equals 1). These three steps repeat before every measurement in the course.

RTF? What does it mean when the dev device measures 0.97?

Real Time Factor: ratio between simulated time and real time. 0.97 means 1 real second simulates 0.97 seconds, close to real time. The lower the RTF, the slower all real-time sensors will be.

Declares /velodyne_points 10 Hz, /imu/data 200 Hz but measures 9.4 Hz and 192 Hz, is it something to worry about?

No, this is the measurement on the dev machine: a bit lower than declared because RTF is below 1 and the measurement method. It's worrying when the frequency is completely low or there are 2 publishers.

LiDAR mounted 0.78 m high, steepest beam is −15°. On a flat floor, how far is the nearest point from the robot?

0.78 / \tan 15^\circ \approx 2.9 m. Closer than that there are no floor returns; This is the blind area of ​LiDAR.

Why do I have to run stop_sim.sh and wait for còn 0 tiến trình between opening world?

The old alive process can continue to broadcast the same topic, create 2 publishers and make all subsequent measurements wrong without any error message (M06 lesson 8 reproduces this error).

Self-check before you submit

  • Publisher count of all measured topics is equal to 1
  • Measured each topic individually, not running multiple ros2 topic hz at the same time
  • Between two world openings, stop_sim.sh prints còn 0 tiến trình
  • RViz image clearly shows the robot and point cloud

Next, M01: run SLAM on this same bringup, scan and save the first 3D map.

Next module

Module 1: One full loop: scan → save → localize → drive

Start →
Exercise: report your machine and sensor setup · Module 0: Install & run the simulation — Atlas Robotics