yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
YDLIDAR TW3📖
1.Basic course
  • 1.EAI official learn website
  • 2.PC software use course
2.ROS1 use course
  • 1.Lidar drive
  • 2.Handheld lidar mapping
3.ROS2 use course
  • 1.Lidar drive
  • 2.Handheld lidar mapping
Download
  • Code
  • VM_File
  • 3D_Model_File
  • DataSheet
Download ZIP

Welcome to YDLIDAR TW3 repository

2.Handheld lidar mapping

2. Handheld Radar Mapping

This function requires launching a program from the slam_gmapping package, the source code of which is located in the 【ydlidar_ros2_ws】source code. This guide uses the accompanying virtual machine to illustrate how to launch the program. If you want to run it on your own motherboard, place ydlidar_ros2_ws in the root directory and compile it.

2.1. Activate the radarTerminal input

ros2 launch ydlidar_ros2_driver ydlidar_launch.py

2.2 Publish static odom conversions

Terminal input

xxxxxxxxxx
ros2 launch rf2o_laser_odometry rf2o_laser_odometry.launch.py

2.3. Start gmapping for mapping

Terminal input

x
ros2 launch slam_gmapping slam_gmapping.launch.py

image-20251201204941036

rviz displays the following:

image-20251201204912572

2.4 Saving the Map

Terminal input,

xxxxxxxxxx
ros2 run nav2_map_server map_saver_cli -f ~/ydlidar_ros2_ws/src/slam_gmapping/maps/my_map

image-20251201205124348

Then you can find the map file we saved in the file path mentioned above.

image-20251201205204800

Lidar drive

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文