KevsRobots Learning Platform

Learn ROS with me

% complete

Reset my progress

Laserscan data

Let's Visualise our Laser scan data

By ,    Minute


Visualise Laserscan

It’s finally time to visualise the laser scan data.

  • Add Laser_scan topic display - In rviz2, click the add button

  • Select Laser_scan - Scroll down the list of displays types and select the laser scan and click ok

Create Display


  • Set the settings - Click the disclosure triangle next to LaserScan to open it up

Create Display

  • Change topic to scan - Change the topic to /scan

  • Change the Fixed Frame to world - Under Global Options, change the Fixed Frame to world

Create Display


πŸ₯³ you should now be able to see the Lidar Data in the middle panel

Create Display


If the scan doesn’t appear, this video covers a bug I hit at this point and how I fixed it:


Check your understanding

Quick quiz 1 of 3

Why do we need a transform from laser_frame to world?

Quick quiz 2 of 3

Which topic does the RPLidar node publish its scans to?

Quick quiz 3 of 3

Why does RViz2 need X11 forwarding when it runs in Docker?

You can use the arrows  ← β†’ on your keyboard to navigate between lessons.


What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z