Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.58 KB

README.md

File metadata and controls

47 lines (40 loc) · 1.58 KB

laser_scan_integrator

laser scan integrator result A full c++ based ros2 package to merge several laserscan / lidars topics by creating a new virtual laserscan topic. Each source laserscan could be configure via TF to determine the heading of each source laserscan and the relative position of each source laserscan to the virtual laserscan.

This package is created with reference to https://github.com/mich1342/ros2_laser_scan_merger.

The features of this package are below:

  • This can merge laserscan to LaserScan topic directly.
  • This can recognize relative position of sensor by using TF.
  • This can set robot footprint to ignore robot frame.
  • This can set offset relative position with parameters.

Prerequisite

  1. ROS2 (Tested on Galactic)
  2. Your laserscans driver (Tested using RPLIDAR S1 and RPLIDAR S1)
  3. RVIZ2
  4. RQT

How to use

  1. Clone the repo to your ros2 workspace
git clone https://github.com/hijimasa/laser_scan_integrator.git
  1. Edit the topic name in the launch file if needed

  2. Build and Source

colcon build && source install/setup.bash
  1. Launch the package
  • To launch without visualizer
ros2 launch laser_scan_integrator integrate_2_scan.launch.py
  • To launch with visualizer (RVIZ2)
ros2 launch laser_scan_integrator visualize_integrated_2_scan.launch.py

*Make sure that your laserscans topics already published before launch anything from this package
5. Open RQT to set the parameter

rqt

TODO

  • I would like to calculate the offset of relative position by using scan matching.