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
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
60 {
61 Eigen::Matrix4f target;
63 }
64
65 sequence<TargetAlternative> TargetAlternatives;
66 };
67
68
70 {
71
72 void createConfig(aron::data::dto::Dict config, string callerId);
73
74 void removeConfig(string callerId);
75
76 void moveTo(Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId);
77
78 void moveTo2(detail::Waypoints waypoints, string navigationFrame, string callerId);
79
80 void moveToAlternatives(detail::TargetAlternatives targets, string navigationFrame, string callerId);
81
82 void moveToLocation(string location, optional (1) string provider, string callerId);
83
85 Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId);
86
88 Eigen::Vector3f direction, string navigationFrame, string callerId);
89
90 void setVelocityFactor(float velocityFactor, string callerId);
91
92 idempotent void pause(string callerId);
93 idempotent void resume(string callerId);
94 idempotent void stop(string callerId);
95 idempotent void stopAll();
96
97 bool isPaused(string callerId);
98 bool isStopped(string callerId);
99 };
100 };
101 };
102};
Brief description of class targets.
Definition targets.h:39
idempotent void resume(string callerId)
void moveToAlternatives(detail::TargetAlternatives targets, string navigationFrame, string callerId)
void moveTo(Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId)
void createConfig(aron::data::dto::Dict config, string callerId)
void setVelocityFactor(float velocityFactor, string callerId)
void moveTowards(Eigen::Vector3f direction, string navigationFrame, string callerId)
idempotent void stop(string callerId)
void moveTo2(detail::Waypoints waypoints, string navigationFrame, string callerId)
idempotent void pause(string callerId)
void moveToLocation(string location, optional(1) string provider, string callerId)
void updateMoveTo(Eigen::Matrix4fSeq waypoints, string navigationFrame, string callerId)
sequence< TargetAlternative > TargetAlternatives
This file is part of ArmarX.
Definition constants.cpp:4
This file offers overloads of toIce() and fromIce() functions for STL container types.
This file is part of ArmarX.