Skip to content

The lidar_spherical_projection package enables the real time transformation of raw point cloud data from a Velodyne Lidar sensor into a 2D front view image through spherical projection techniques.

Notifications You must be signed in to change notification settings

AIR-UFG/lidar_spherical_projection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS Humble Lidar Spherical Projection

This package provides functionality to convert point cloud data from a Velodyne Lidar sensor into a 2D front view image using spherical projection techniques.

Installation

  1. Make sure you have ROS Humble installed on your system.

  2. Clone this repository into your workspace:

    git clone https://github.com/AIR-UFG/lidar_spherical_projection.git
  3. Build the package using colcon:

    colcon build

Dependencies

This package depends on the following ROS 2 packages:

  • rclpy: ROS Client Library for Python
  • sensor_msgs: ROS messages for sensor-related data
  • cv_bridge: ROS package to convert between ROS images and OpenCV images
  • Cloud2DImageConverter: External package used for making the spherical projections

Make sure you have these dependencies installed before building this package.

Usage

Launch File

You can launch the lidar_spherical_projection node using the provided launch file. The launch file allows you to specify parameters such as field of view (FOV) up, FOV down, width, and height for the spherical projection.

To launch the node with default parameters:

ros2 launch lidar_spherical_projection lidar_spherical_projection.launch.py

Parameters

To launch the node with custom parameters:

ros2 launch lidar_spherical_projection lidar_spherical_projection.launch.py fov_up:=15.0 fov_down:=-15.0 width:=2048 height:=16

The following parameters can be configured via launch file or directly in the code:

  • fov_up: Field of view up (default: 15.0 degrees)
  • fov_down: Field of view down (default: -15.0 degrees)
  • width: Width of the projection (default: 2048 pixels)
  • height: Height of the projection (default: 16 pixels)

Topics

  • Subscribed Topic:

    • /velodyne_points: Raw point cloud data from Velodyne Lidar sensor
  • Published Topic:

    • /lidar_spherical_projection: Spherical projection image generated from the point cloud data

About

The lidar_spherical_projection package enables the real time transformation of raw point cloud data from a Velodyne Lidar sensor into a 2D front view image through spherical projection techniques.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Languages