-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROS costmap #1
Comments
Hi, thank you for your interest! There were some preliminary efforts in interfacing with ROS Costmap2D, but our experience suggested that the overhead in converting Costmap2D in cpp and porting the data to python via pybind11 was quite significantly (at least compared to the performance gain due to GPU). Therefore, we did not pursue that costmap2d option further. However, if you do want to go down this route, an option is to use pybind11 to initialize a MPPI_Numba object in a cpp node. Then:
Alternatively, you can have a cpp node that publishes a custom message that contains relevant info from costmap2d (e.g., obstacles and unknown cells). The message can then be subscribed by a python node that holds the MPPI_Numba object. This should be easier to do. |
Oh, I am looking into the alternative method by generating costmap on the other packages. |
Hi may I know what package you used for generating the costmap? |
Hi there, I think you have many options. Typical ones are:
Note that grid_map follows a different convention compared to the ROS occupancy grid message, so you have to use grid_map's conversion functions accordingly. You just have to write a ROS subscriber to those maps and pass the maps to the planner. |
Thank you for your prompt response and recommendations!, okay I will take a look into it |
Hi there,
Thank you for sharing your amazing work!
I am trying to change your unicycle model to ackermann-based vehicle model.
Also, I want to deploy robot for the real-world test.
To do this, I am looking into your test code, and found "use_costmap" parameter.
After your first release, is there any progress for ROS costmap version?
Again, thank you very much!
Best,
The text was updated successfully, but these errors were encountered: