ExecutorInterface.h
Go to the documentation of this file.
1 #pragma once
2 
5 
7 {
8 
9  /**
10  * @brief An executer the server navigator will use to send its control commands to.
11  */
13  {
14 
15  public:
16  virtual ~ExecutorInterface() = default;
17 
18  virtual void execute(const core::LocalTrajectory& trajectory,
19  bool activateController = false) = 0;
20  virtual void execute(const core::GlobalTrajectory& trajectory,
21  bool activateController = false) = 0;
22 
23 
24  enum class ControllerType
25  {
28  None
29  };
30 
31  virtual void start(ControllerType controllerType) = 0;
32  virtual void stop() = 0;
33 
34  virtual void ensureIsActive(ControllerType controllerType) = 0;
35 
36  virtual void updateVelocityLimits(const core::TwistLimits& limits) = 0;
37  };
38 
39 } // namespace armarx::navigation::server
armarx::navigation::core::GlobalTrajectory
Definition: Trajectory.h:70
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:12
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:6
armarx::navigation::server::ExecutorInterface::start
virtual void start(ControllerType controllerType)=0
armarx::navigation::core::TwistLimits
Definition: types.h:80
armarx::navigation::core::LocalTrajectory
Definition: Trajectory.h:170
armarx::navigation::server::ExecutorInterface::ensureIsActive
virtual void ensureIsActive(ControllerType controllerType)=0
armarx::navigation::server::ExecutorInterface::ControllerType
ControllerType
Definition: ExecutorInterface.h:24
armarx::navigation::server::ExecutorInterface::updateVelocityLimits
virtual void updateVelocityLimits(const core::TwistLimits &limits)=0
Trajectory.h
types.h