Skip to content
Snippets Groups Projects
Commit cf016147 authored by Christian Dreher's avatar Christian Dreher
Browse files

feature: Add code to implement future server::Navigator and server::NavigationStack.

parent a32428a5
No related branches found
No related tags found
No related merge requests found
......@@ -70,16 +70,22 @@ armarx::nav::components::Navigator::getDefaultName() const
void
armarx::nav::components::Navigator::moveTo(const Eigen::Matrix4f& pose, const aron::data::AronDictPtr& config, const std::string& navigationMode, const Ice::Current&)
armarx::nav::components::Navigator::moveTo(const Eigen::Matrix4f& pose, const aron::data::AronDictPtr& stackConfig, const std::string& navigationMode, const Ice::Current&)
{
server::NavigationStack stack = fac::NavigationStackFactory::create(stackConfig);
server::Navigator navigator{stack};
navigator->moveTo(pose);
}
void
armarx::nav::components::Navigator::moveTowards(const Eigen::Matrix4f& direction, const aron::data::AronDictPtr& config, const std::string& navigationMode, const Ice::Current&)
armarx::nav::components::Navigator::moveTowards(const Eigen::Matrix4f& direction, const aron::data::AronDictPtr& stackConfig, const std::string& navigationMode, const Ice::Current&)
{
server::NavigationStack stack = fac::NavigationStackFactory::create(stackConfig);
server::Navigator navigator{stack};
navigator->moveTowards(direction);
}
......
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