ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Methods or ROS package for Virtual laser scan by ray casting

asked 2019-05-17 13:27:32 -0500

A_Hari gravatar image

Hi All, I wanted to obtain the 2D LIDAR measurements at a specific location virtually without being at that position through ray casting or some other method. So I wanted to know if there are any suggested methods or ROS packages that can help me to achieve this.

Appreciate your time. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-05-17 14:07:28 -0500

updated 2019-05-19 17:31:26 -0500

There are a few ROS packages/libraries that support raycasting into (their respective) map representations. I'm not aware of a ready-made tool for generating virtual LIDAR scans, but it would be relatively easy to create one using for instance grid_map's line iterator for 2D map data or octomap_ros's castRay for 3D map data.

edit flag offensive delete link more


Sure! I will try it. Thanks Stefan.

A_Hari gravatar image A_Hari  ( 2019-05-19 06:02:27 -0500 )edit

Question Tools



Asked: 2019-05-17 13:27:32 -0500

Seen: 368 times

Last updated: May 19 '19