Skip to content
Snippets Groups Projects
Commit 84cb6592 authored by Fabian Reister's avatar Fabian Reister
Browse files

minor fixes (code style)

parent 2188d923
No related branches found
No related tags found
2 merge requests!56Provide costmap to homotopy class planner,!28Draft: Dev -> Main
......@@ -221,10 +221,16 @@ namespace armarx::navigation::local_planning
void
TimedElasticBands::setTebCostmap()
{
if (!scene.staticScene)
if (not scene.staticScene.has_value())
{
return;
if (!scene.staticScene->distanceToObstaclesCostmap)
}
if (not scene.staticScene->distanceToObstaclesCostmap.has_value())
{
return;
}
const algorithms::Costmap& navigationCostmap =
scene.staticScene->distanceToObstaclesCostmap.value();
teb_costmap.emplace(conv::toRos(navigationCostmap));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment