choreo_execution_gatekeeper_service.h
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 7/10/17.
3 //
4 
5 #ifndef FRAMEFAB_SIMULATION_GATEKEEPER_H
6 #define FRAMEFAB_SIMULATION_GATEKEEPER_H
7 
8 #include <ros/ros.h>
9 #include <choreo_msgs/ProcessExecutionAction.h>
11 
13 {
14 
15 // this class is the action server for the ProcessExecutionAction call from core service node
16 // It acts like a gatekeeper, directing the trajectory to different execution instances
17 // for now, it only supports directing trajectory to simulator (choreo_simulation_execution).
19 {
20  public:
22 
23  void executionCallback(const choreo_msgs::ProcessExecutionGoalConstPtr &goal);
24  bool simulateProcess(const choreo_msgs::ProcessExecutionGoalConstPtr &goal);
25 
26  // TODO: execution port to be implemented in the future
27 // bool executeProcess(const choreo_msgs::ProcessExecutionGoalConstPtr &goal);
28 
29  private:
31 // ros::ServiceClient real_client_;
34 };
35 }
36 
37 #endif //FRAMEFAB_SIMULATION_GATEKEEPER_H
bool simulateProcess(const choreo_msgs::ProcessExecutionGoalConstPtr &goal)
actionlib::SimpleActionServer< choreo_msgs::ProcessExecutionAction > process_exe_action_server_
void executionCallback(const choreo_msgs::ProcessExecutionGoalConstPtr &goal)


choreo_execution_gatekeeper
Author(s):
autogenerated on Thu Jul 18 2019 03:59:24