Comments (5)
Hi there, I think you have many options. Typical ones are:
- grid_map
- costmap_2d
- Or just other occupancy mapping tools.
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.
from mppi_numba.
Hi there, I think you have many options. Typical ones are:
- grid_map
- costmap_2d
- Or just other occupancy mapping tools.
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
from mppi_numba.
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:
- Convert costmap2d objects in your cpp node to corresponding pybind arrays (e.g., lethal, unknown, etc.)
- Write a new python function for MPPI_Numba to process the pybind arrays.
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.
from mppi_numba.
Oh, I am looking into the alternative method by generating costmap on the other packages.
Thank you for your fast reply!
You can close this issue then.
from mppi_numba.
Oh, I am looking into the alternative method by generating costmap on the other packages. Thank you for your fast reply! You can close this issue then.
Hi may I know what package you used for generating the costmap?
from mppi_numba.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mppi_numba.