NavigatorInterface.ice
Go to the documentation of this file.
1 /**
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @package armarx::navigation::components::Navigator
17  * @author Christian R. G. Dreher ( c dot dreher at kit dot edu )
18  * @date 2021
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 
24 #pragma once
25 
26 
27 #include <ArmarXCore/interface/serialization/Eigen.ice>
28 
29 #include <RobotAPI/interface/aron.ice>
30 #include <RobotAPI/interface/core/PoseBase.ice>
31 
32 [["python:pkgdir:armarx"]] module armarx
33 {
34  module navigation
35  {
36 
37  module client
38  {
39  module detail
40  {
41  // defines how a waypoint should be reached
43  {
46  };
47 
48  // either symbolic or subsymbolic
49  struct Waypoint
50  {
51  string locationId;
52  armarx::PoseBase pose;
53 
55  };
56 
57  sequence<Waypoint> Waypoints;
58  };
59 
60 
62  {
63 
64  void createConfig(aron::data::dto::Dict config, string callerId);
65 
66  void moveTo(Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId);
67 
68  void moveTo2(detail::Waypoints waypoints, string navigationFrame, string callerId);
69 
70  void moveToLocation(string location, string callerId);
71 
72  void updateMoveTo(
73  Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId);
74 
75  void moveTowards(
76  Eigen::Vector3f direction, string navigationFrame, string callerId);
77 
78  idempotent void pause(string callerId);
79  idempotent void resume(string callerId);
80  idempotent void stop(string callerId);
81  idempotent void stopAll();
82 
83  bool isPaused(string callerId);
84  bool isStopped(string callerId);
85  };
86  };
87  };
88 };
armarx::navigation::client::detail::Free
@ Free
Definition: NavigatorInterface.ice:44
armarx::navigation::client::detail::GlobalPlanningStrategy
GlobalPlanningStrategy
Definition: NavigatorInterface.ice:42
detail
Definition: OpenCVUtil.cpp:128
armarx::navigation::client::detail::Waypoint::locationId
string locationId
Definition: NavigatorInterface.ice:51
armarx::navigation::client::detail::Waypoints
sequence< Waypoint > Waypoints
Definition: NavigatorInterface.ice:57
armarx::navigation::client::detail::Point2Point
@ Point2Point
Definition: NavigatorInterface.ice:45
armarx::navigation::client::NavigatorInterface
Definition: NavigatorInterface.ice:61
navigation
This file is part of ArmarX.
armarx::navigation::client::detail::Waypoint::strategy
GlobalPlanningStrategy strategy
Definition: NavigatorInterface.ice:54
armarx::navigation::client::detail::Waypoint::pose
armarx::PoseBase pose
Definition: NavigatorInterface.ice:52
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::navigation::client::detail::Waypoint
Definition: NavigatorInterface.ice:49