IceNavigator.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include <string>
5 
7 #include <armarx/navigation/client/ice/NavigatorInterface.h>
12 
13 
15 {
16 
17  class IceNavigator : virtual public core::NavigatorInterface
18  {
19 
20  public:
21  IceNavigator();
22  IceNavigator(const NavigatorInterfacePrx& navigator);
23 
24  ~IceNavigator() override;
25 
26 
27  void setNavigatorComponent(const NavigatorInterfacePrx& navigator);
28 
29  void createConfig(const client::NavigationStackConfig& config, const std::string& configId);
30 
31  void moveTo(const std::vector<core::Pose>& waypoints,
32  core::NavigationFrame navigationFrame) override;
33 
34  void moveTo(const std::vector<client::WaypointTarget>& targets,
35  core::NavigationFrame navigationFrame) override;
36 
37  void moveToLocation(const std::string& location) override;
38 
39  void moveTowards(const core::Direction& direction,
40  core::NavigationFrame navigationFrame) override;
41 
42  void update(const std::vector<core::Pose>& waypoints,
43  core::NavigationFrame navigationFrame) override;
44 
45  void pause() override;
46 
47  void resume() override;
48 
49  void stop() override;
50 
51  bool isPaused() const noexcept override;
52 
53  bool isStopped() const noexcept override;
54 
55  private:
56  std::string configId;
57 
58  NavigatorInterfacePrx navigator;
59  };
60 
61 } // namespace armarx::navigation::client
ice_conversions.h
armarx::navigation::client::IceNavigator::resume
void resume() override
Definition: IceNavigator.cpp:107
armarx::navigation::client::IceNavigator::IceNavigator
IceNavigator()
Definition: IceNavigator.cpp:22
armarx::navigation::client::IceNavigator::update
void update(const std::vector< core::Pose > &waypoints, core::NavigationFrame navigationFrame) override
Definition: IceNavigator.cpp:91
armarx::navigation::client::IceNavigator::setNavigatorComponent
void setNavigatorComponent(const NavigatorInterfacePrx &navigator)
Definition: IceNavigator.cpp:39
armarx::navigation::client::IceNavigator::pause
void pause() override
Definition: IceNavigator.cpp:101
armarx::navigation::client::IceNavigator::isPaused
bool isPaused() const noexcept override
Definition: IceNavigator.cpp:119
armarx::navigation::core::NavigationFrame
NavigationFrame
Definition: types.h:43
basic_types.h
armarx::navigation::client::IceNavigator::moveToLocation
void moveToLocation(const std::string &location) override
Definition: IceNavigator.cpp:74
armarx::navigation::core::NavigatorInterface
Navigator interface for PointGoal navigation (with waypoints) and relative movement.
Definition: NavigatorInterface.h:13
armarx::navigation::client
This file is part of ArmarX.
Definition: ComponentPlugin.cpp:20
armarx::navigation::client::IceNavigator::~IceNavigator
~IceNavigator() override
Definition: IceNavigator.cpp:33
armarx::navigation::client::NavigationStackConfig
Definition: NavigationStackConfig.h:55
armarx::navigation::client::IceNavigator
Definition: IceNavigator.h:17
armarx::navigation::client::IceNavigator::isStopped
bool isStopped() const noexcept override
Definition: IceNavigator.cpp:125
NavigationStackConfig.h
armarx::navigation::client::IceNavigator::stop
void stop() override
Definition: IceNavigator.cpp:113
armarx::navigation::client::IceNavigator::moveTowards
void moveTowards(const core::Direction &direction, core::NavigationFrame navigationFrame) override
Definition: IceNavigator.cpp:81
armarx::navigation::core::Direction
Eigen::Vector3f Direction
Definition: basic_types.h:39
armarx::navigation::client::IceNavigator::createConfig
void createConfig(const client::NavigationStackConfig &config, const std::string &configId)
Definition: IceNavigator.cpp:45
NavigatorInterface.h
armarx::navigation::client::IceNavigator::moveTo
void moveTo(const std::vector< core::Pose > &waypoints, core::NavigationFrame navigationFrame) override
Definition: IceNavigator.cpp:54
types.h