Ask Your Question

Is there any python support for creating a custom costmap_2d layer?

asked 2020-02-16 12:38:09 -0500

ShyamGanatra gravatar image

Hello, I am trying to make my custom costmap_2d layer from pointcloud2 data, which would be marked as free space. I looked at the tutorial, which is in C++. I was wondering if there is any other support in python for the same. It would make it a lot easier in python, I think.

Thank You.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-16 13:26:41 -0500

gvdhoorn gravatar image


Not in the standard packages.

The navstack uses C++ plugins to host layer plugins. This is not supported by / with Python.

edit flag offensive delete link more


Some related Q&As: #q11521 and #q174067.

I don't believe anything has changed.

Using boost::python or possible pybind11 (docs) would appear to be the way to do this, if you're still interested.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-16 13:38:58 -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: 2020-02-16 12:38:09 -0500

Seen: 73 times

Last updated: Feb 16 '20