ros-perception / ros-perception/laser_geometry

LaserScan does not display anything in rviz when the sensor has a single ray

Open
#73 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
164
Forks
120
Avg merge
21h 35m
Merged PRs (30d)
1

Description

This bug was reported in rviz originally: https://github.com/ros-visualization/rviz/issues/1541.
I suspect that the function transformLaserScanToPointCloud() doesn't correctly handle the single ray scan?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing transformLaserScanToPointCloud() and reproduce the case with a LaserScan containing a single ray, using the linked rviz issue for context. Done means the resulting point cloud is produced correctly and the single-ray scan displays in rviz.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
robotics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.