IceNavigatorHandle.h
Go to the documentation of this file.
1#pragma once
2
3
4#include <memory>
5#include <optional>
6#include <string>
7#include <vector>
8
10#include <armarx/navigation/client/ice/NavigatorInterface.h>
14
16{
17
19
20 class IceNavigatorHandle : virtual public core::NavigatorInterface
21 {
22
23 public:
24 ~IceNavigatorHandle() override;
25
26
27 void moveTo(const std::vector<core::Pose>& waypoints,
28 core::NavigationFrame navigationFrame) override;
29
30 void moveTo(const std::vector<client::WaypointTarget>& targets,
31 core::NavigationFrame navigationFrame) override;
32
33 void moveToAlternatives(const std::vector<core::TargetAlternative>& targets,
34 core::NavigationFrame navigationFrame) override;
35
36 void moveToLocation(const std::string& location,
37 const std::optional<std::string>& providerName) 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 setVelocityFactor(float velocityFactor) override;
46
47 void pause() override;
48
49 void resume() override;
50
51 void stop() override;
52
53 bool isPaused() const noexcept override;
54
55 bool isStopped() const noexcept override;
56
57 private:
58 IceNavigatorHandle(const NavigatorInterfacePrx& navigator, const std::string& configId);
59
60 friend class IceNavigatorFactory;
61
62 private:
63 NavigatorInterfacePrx navigator_;
64 std::string configId_;
65 };
66
67} // namespace armarx::navigation::client
void moveToAlternatives(const std::vector< core::TargetAlternative > &targets, core::NavigationFrame navigationFrame) override
void moveTowards(const core::Direction &direction, core::NavigationFrame navigationFrame) override
void update(const std::vector< core::Pose > &waypoints, core::NavigationFrame navigationFrame) override
void setVelocityFactor(float velocityFactor) override
void moveToLocation(const std::string &location, const std::optional< std::string > &providerName) override
void moveTo(const std::vector< core::Pose > &waypoints, core::NavigationFrame navigationFrame) override
Navigator interface for PointGoal navigation (with waypoints) and relative movement.
Brief description of class targets.
Definition targets.h:39
This file is part of ArmarX.
Eigen::Vector3f Direction
Definition basic_types.h:39
This file is part of ArmarX.
Definition constants.cpp:4