10#include <Ice/Exception.h>
15#include <armarx/navigation/client/ice/NavigatorInterface.h>
41 this->navigator = navigator;
44 std::unique_ptr<core::NavigatorInterface>
46 const std::string& configId)
53 navigator->createConfig(config.
toAron(), configId);
55 catch (
const Ice::LocalException& e)
57 ARMARX_ERROR <<
"Failed to create navigation config '" << configId
58 <<
"' on navigator: " << e.what();
64 return std::unique_ptr<IceNavigatorHandle>(
new IceNavigatorHandle(navigator, configId));
~IceNavigatorFactory() override
void setNavigatorComponent(const NavigatorInterfacePrx &navigator)
NavigatorHandlePtr createConfig(const client::NavigationStackConfig &config, const std::string &configId) override
Create a Config object.
aron::data::dto::DictPtr toAron() const
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
This file is part of ArmarX.