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

Run navigation stack on pointcloud only [closed]

asked 2021-12-21 13:53:05 -0500

BBlumhofe gravatar image

updated 2022-02-13 17:09:11 -0500

lucasw gravatar image

Hi all,

from the SLAM algorithm I use, I can get a mesh or a Pointcloud representation of the map. Can I somehow run the standard navigation stack? My idea is to use a empty static map and use the sensor input for the Map. Is that possible? Are there better solutions?

Regards

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by BBlumhofe
close date 2021-12-27 12:56:09.744805

Comments

Are you trying to create a SLAM implementation on your own? Which of the many existing ROS SLAM packages have you studied? I applaud your ambition, but it's not clear from your short paragraph that you understand the difficulty of the problem .

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-23 08:39:13 -0500 )edit

I don‘t want to build a SLAM Algorithm on my own. I am trying to use Kimera (https://github.com/MIT-SPARK/Kimera-V...) to navigate with the robot. Kimera outputs a pointcloud or a mesh of the Environment which i want to use for navigation. As far as I understood I have to reduce to pointcloud to a 2d map to use the navigation stack. Is there a way to use ros packages to do this or do i habe to do it on my own? Are there packages from which i don‘t know which enable me to navigate on a mesh?

BBlumhofe gravatar image BBlumhofe  ( 2021-12-23 09:13:45 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2021-12-23 09:27:29 -0500

Mike Scheutzow gravatar image

There is an existing ros package to convert a pointcloud to a laserscan, then the navigation stack can be configured to work with that laserscan.

http://wiki.ros.org/pointcloud_to_las...

edit flag offensive delete link more

Comments

but this is only for the sensing isn't it? ROS navigation stack needs a static map in 2d or did I understand the documentation wrong?

BBlumhofe gravatar image BBlumhofe  ( 2021-12-23 12:08:48 -0500 )edit

The poitncloud to laser idea worked not for me because the robot has to navigate into multiple rooms and the laserscan reduce the map to the first wall and do not see the room behind that wall as I would expect. I have seen that Kimera outputs the occupied nodes as a marker array. Is it possible to use that for navigation?

BBlumhofe gravatar image BBlumhofe  ( 2021-12-24 01:18:51 -0500 )edit

I don't know how smart that package is about extracting a plane from a point cloud. If you are sure the information you want is present in the point cloud, it may be best to write your own custom extractor.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-26 08:43:35 -0500 )edit

Thanks a lot for your help. I found a workaround for my problem. I extract the relevant part of the pointcloud with pcl_ros and then integrate it into the costmap2D via the voxel layer. Then I can use the standard ROS-navigation package.

BBlumhofe gravatar image BBlumhofe  ( 2021-12-27 12:55:53 -0500 )edit

I'm glad you got it working. Thank you for sharing your solution.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-28 07:26:09 -0500 )edit

Question Tools

Stats

Asked: 2021-12-21 13:53:05 -0500

Seen: 363 times

Last updated: Dec 23 '21