ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to create a local map from global one

asked 2014-02-04 08:21:26 -0500

Wilk gravatar image

After runing a slam algorithm I receaved a big map and I dlike to make it smaller- I'd like to use only data that are in 3-5 m around. Is there possibility of deleting a node from octomap graph representing a too far point?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-04 08:37:23 -0500

davinci gravatar image

There is a clear option. Not sure if you can easy clear with it as you can only specify two corner points.

~clear_bbx (octomap_msgs/BoundingBoxQuery)

Clears a region in the 3D occupancy map, setting all voxels in the region to "free"
edit flag offensive delete link more


Thanks for very fast response- I'm searching how to use it :D

Wilk gravatar image Wilk  ( 2014-02-04 09:32:16 -0500 )edit

Maby a stupid question but how can I use it in terminal?

Wilk gravatar image Wilk  ( 2014-02-04 10:02:23 -0500 )edit

Try it with tab completion, it will give the required format.

davinci gravatar image davinci  ( 2014-02-05 01:08:30 -0500 )edit

I think the usage is like this: rosrun octomap_server -x -y -z x y z but still I can't use it- propably I have other problems with octomap (or rgbdslam). Anyway thanks for help. This is the function I was looking for.

Wilk gravatar image Wilk  ( 2014-02-09 02:09:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-02-04 08:21:26 -0500

Seen: 515 times

Last updated: Feb 04 '14