-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
The obstacles_critics of MPPI and SMAC_planner are tightly related to the nav2_costmap_2d::InflationLayer.
To use a custom version of the inflation layer with the MPPI/SMAC, the custom layer needs to inherit from the inflation layer.
But the inflation_layer isn't adapted to inheritance, there are private members and methods.
Required Info:
- Operating System:
- Ubuntu 22.04
- ROS2 Version:
- Iron
- Version or commit hash:
- main
- DDS implementation:
- cycloneDDS
Expected behavior
When using a child class of inflation_layer, all the methods should work.
Actual behavior
When using a child class of inflation_layer, the attributes are not shared, so some methods, like getCostScalingFactor(), don't return the real value.
Implementation considerations
We fixed this by removing the private: keyword in the inflation_layer header file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels