Skip to content
Snippets Groups Projects
Commit 6976443b authored by Tobias Gröger's avatar Tobias Gröger
Browse files

Fix NullPointer when LocalPlanner is null

parent 910fa6f1
No related branches found
No related tags found
2 merge requests!68Add human tracking,!28Draft: Dev -> Main
...@@ -251,7 +251,10 @@ namespace armarx::navigation::components::navigator ...@@ -251,7 +251,10 @@ namespace armarx::navigation::components::navigator
fac::NavigationStackFactory::create(stackConfig, sceneProvider->scene()); fac::NavigationStackFactory::create(stackConfig, sceneProvider->scene());
// set visualization of LocalPlanner // set visualization of LocalPlanner
stack.localPlanner->setVisualization(getArvizClient()); if (stack.localPlanner)
{
stack.localPlanner->setVisualization(getArvizClient());
}
memoryIntrospectors.emplace_back( memoryIntrospectors.emplace_back(
std::make_unique<server::MemoryIntrospector>(resultsWriterPlugin->get(), callerId)); std::make_unique<server::MemoryIntrospector>(resultsWriterPlugin->get(), callerId));
......
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