IntrospectorInterface.h
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 * @author Fabian Reister ( fabian dot reister at kit dot edu )
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#pragma once
24
25#include <optional>
26#include <vector>
27
32
34{
35
37
38 struct StackResult;
39
41 {
42 public:
43 virtual ~IntrospectorInterface() = default;
44
45 virtual void onGoal(const core::Pose& goal) = 0;
46
47 virtual void success() = 0;
48 virtual void failure() = 0;
49
51 virtual void onGlobalPlannerSubdivision(const GlobalPathSubdivision& subdivision) = 0;
52 virtual void
53 onLocalPlannerResult(const std::optional<local_planning::LocalPlannerResult>& result) = 0;
54
55 virtual void onRobotPose(const core::Pose& pose) = 0;
56
57 virtual void onGlobalShortestPath(const std::vector<core::Pose>& path) = 0;
58
59 virtual void onGlobalGraph(const core::Graph& graph) = 0;
60
61 protected:
62 private:
63 };
64
65} // namespace armarx::navigation::server
virtual void onGoal(const core::Pose &goal)=0
virtual void onGlobalGraph(const core::Graph &graph)=0
virtual void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result)=0
virtual void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result)=0
virtual void onGlobalPlannerSubdivision(const GlobalPathSubdivision &subdivision)=0
virtual void onGlobalShortestPath(const std::vector< core::Pose > &path)=0
virtual void onRobotPose(const core::Pose &pose)=0
Eigen::Isometry3f Pose
Definition basic_types.h:31
This file is part of ArmarX.
Definition Visu.h:48
This file is part of ArmarX.