ExecutorInterface.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 {
7 
8  /**
9  * @brief An executer the server navigator will use to send its control commands to.
10  */
12  {
13 
14  public:
15  virtual ~ExecutorInterface() = default;
16 
17  virtual void execute(const core::LocalTrajectory& trajectory, bool activateController = false) = 0;
18  virtual void execute(const core::GlobalTrajectory& trajectory, bool activateController = false) = 0;
19 
20 
21  enum class ControllerType
22  {
25  None
26  };
27 
28  virtual void start(ControllerType controllerType) = 0;
29  virtual void stop() = 0;
30 
31  virtual void ensureIsActive(ControllerType controllerType) = 0;
32 
33  };
34 
35 } // namespace armarx::navigation::server
armarx::navigation::core::GlobalTrajectory
Definition: Trajectory.h:68
armarx::navigation::server::ExecutorInterface::~ExecutorInterface
virtual ~ExecutorInterface()=default
armarx::navigation::server::ExecutorInterface::stop
virtual void stop()=0
armarx::navigation::server::ExecutorInterface
An executer the server navigator will use to send its control commands to.
Definition: ExecutorInterface.h:11
armarx::navigation::server::ExecutorInterface::ControllerType::GlobalTrajectory
@ GlobalTrajectory
armarx::navigation::server::ExecutorInterface::ControllerType::LocalTrajectory
@ LocalTrajectory
armarx::navigation::server::ExecutorInterface::ControllerType::None
@ None
armarx::navigation::server::ExecutorInterface::execute
virtual void execute(const core::LocalTrajectory &trajectory, bool activateController=false)=0
armarx::navigation::server
This file is part of ArmarX.
Definition: EventPublishingInterface.h:10
armarx::navigation::server::ExecutorInterface::start
virtual void start(ControllerType controllerType)=0
armarx::navigation::core::LocalTrajectory
Definition: Trajectory.h:167
armarx::navigation::server::ExecutorInterface::ensureIsActive
virtual void ensureIsActive(ControllerType controllerType)=0
armarx::navigation::server::ExecutorInterface::ControllerType
ControllerType
Definition: ExecutorInterface.h:21
Trajectory.h