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 
29 
31 {
32 
33  struct StackResult;
34 
36  {
37  public:
38  virtual ~IntrospectorInterface() = default;
39 
40  virtual void onGoal(const core::Pose& goal) = 0;
41 
42  virtual void success() = 0;
43  virtual void failure() = 0;
44 
45  virtual void onGlobalPlannerResult(const global_planning::GlobalPlannerResult& result) = 0;
46  virtual void
47  onLocalPlannerResult(const std::optional<local_planning::LocalPlannerResult>& result) = 0;
48 
49  virtual void onRobotPose(const core::Pose& pose) = 0;
50 
51  virtual void onGlobalShortestPath(const std::vector<core::Pose>& path) = 0;
52 
53  virtual void onGlobalGraph(const core::Graph& graph) = 0;
54 
55  protected:
56  private:
57  };
58 
59 } // namespace armarx::navigation::server
armarx::navigation::server::IntrospectorInterface::failure
virtual void failure()=0
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
TrajectoryController.h
LocalPlanner.h
armarx::navigation::server::IntrospectorInterface::onGlobalGraph
virtual void onGlobalGraph(const core::Graph &graph)=0
armarx::navigation::server
This file is part of ArmarX.
Definition: EventPublishingInterface.h:10
armarx::navigation::server::IntrospectorInterface::onGoal
virtual void onGoal(const core::Pose &goal)=0
armarx::navigation::server::IntrospectorInterface::onGlobalShortestPath
virtual void onGlobalShortestPath(const std::vector< core::Pose > &path)=0
armarx::navigation::core::Graph
Definition: Graph.h:88
GlobalPlanner.h
armarx::navigation::global_planning::GlobalPlannerResult
Definition: GlobalPlanner.h:38
armarx::navigation::server::IntrospectorInterface
Definition: IntrospectorInterface.h:35
armarx::navigation::server::IntrospectorInterface::success
virtual void success()=0
armarx::navigation::server::IntrospectorInterface::onLocalPlannerResult
virtual void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result)=0
armarx::navigation::server::IntrospectorInterface::onGlobalPlannerResult
virtual void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result)=0
armarx::navigation::server::IntrospectorInterface::onRobotPose
virtual void onRobotPose(const core::Pose &pose)=0
armarx::navigation::server::IntrospectorInterface::~IntrospectorInterface
virtual ~IntrospectorInterface()=default
SafetyController.h