process_planning_state.h
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 6/22/17.
3 //
4 
5 #ifndef CHOREO_GUI_PROCESS_PLANNING_STATE_H
6 #define CHOREO_GUI_PROCESS_PLANNING_STATE_H
7 
8 #include "choreo_gui/gui_state.h"
9 #include <ros/ros.h>
10 
12 #include <choreo_msgs/ProcessPlanningAction.h>
13 
14 namespace choreo_gui
15 {
16 
18 {
19  Q_OBJECT
20  public:
21  // Constructor
22  ProcessPlanningState(const int index, const bool use_ladder_graph_record);
23 
24  // Entry and exit classes
25  virtual void onStart(ChoreoWidget& gui);
26  virtual void onExit(ChoreoWidget& gui);
27 
28  // Handlers for the fixed buttons
29  virtual void onNext(ChoreoWidget& gui);
30  virtual void onBack(ChoreoWidget& gui);
31  virtual void onReset(ChoreoWidget& gui);
32 
33  private:
34  void makeRequest();
37  const choreo_msgs::ProcessPlanningResultConstPtr& result);
40  const choreo_msgs::ProcessPlanningFeedbackConstPtr& feedback);
41 
42  Q_SIGNALS:
43  void feedbackReceived(QString feedback);
44 
45  private Q_SLOTS:
46  void setFeedbackText(QString feedback);
47 
48  private:
51 
54 };
55 }
56 
57 #endif //CHOREO_GUI_PROCESS_PLANNING_STATE_H
virtual void onExit(ChoreoWidget &gui)
The ChoreoWidget class works in states:
Definition: choreo_widget.h:34
virtual void onBack(ChoreoWidget &gui)
actionlib::SimpleActionClient< choreo_msgs::ProcessPlanningAction > process_planning_action_client_
virtual void onReset(ChoreoWidget &gui)
void processPlanningFeedbackCallback(const choreo_msgs::ProcessPlanningFeedbackConstPtr &feedback)
virtual void onNext(ChoreoWidget &gui)
virtual void onStart(ChoreoWidget &gui)
ProcessPlanningState(const int index, const bool use_ladder_graph_record)
void processPlanningDoneCallback(const actionlib::SimpleClientGoalState &state, const choreo_msgs::ProcessPlanningResultConstPtr &result)
void feedbackReceived(QString feedback)


choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56