1 #ifndef RAM_QT_GUIS_PATH_PLANNING_HPP 2 #define RAM_QT_GUIS_PATH_PLANNING_HPP 19 #include <ram_path_planning/ContoursAction.h> 20 #include <ram_path_planning/DonghongDingAction.h> 21 #include <ram_path_planning/FollowPosesAction.h> 25 #include <QDoubleSpinBox> 26 #include <QFileDialog> 27 #include <QHBoxLayout> 31 #include <QMessageBox> 32 #include <QPushButton> 33 #include <QScrollArea> 34 #include <QStackedWidget> 35 #include <QtConcurrent/QtConcurrentRun> 58 const ram_path_planning::DonghongDingResultConstPtr &result);
63 const ram_path_planning::ContoursResultConstPtr &result);
68 const ram_path_planning::FollowPosesResultConstPtr &result);
72 const QString message,
73 const QString info_msg);
void contoursDoneCb(const actionlib::SimpleClientGoalState &state, const ram_path_planning::ContoursResultConstPtr &result)
void contoursFeedbackCb(const ram_path_planning::ContoursFeedbackConstPtr &feedback)
QComboBox * select_algorithm_
actionlib::SimpleActionClient< ram_path_planning::ContoursAction > ContoursActionClient
void FollowPosesFeedbackCb(const ram_path_planning::FollowPosesFeedbackConstPtr &feedback)
ContoursWidget * contours_ui_
void displayErrorBoxHandler(const QString title, const QString message, const QString info_msg)
void addAlgorithmsToGUI()
QPushButton * generate_trajectory_button_
void donghongDingDoneCb(const actionlib::SimpleClientGoalState &state, const ram_path_planning::DonghongDingResultConstPtr &result)
actionlib::SimpleActionClient< ram_path_planning::DonghongDingAction > DonghongDingActionClient
QLabel * algorithm_description_
std::shared_ptr< ProgressDialog > progress_dialog_
void donghongDingButtonHandler()
void FollowPosesDoneCb(const actionlib::SimpleClientGoalState &state, const ram_path_planning::FollowPosesResultConstPtr &result)
std::unique_ptr< ContoursActionClient > contours_ac_
void displayErrorMessageBox(const QString, const QString, const QString)
void FollowPosesButtonHandler()
void load(const rviz::Config &config)
void contoursButtonHandler()
std::vector< std::string > algorithm_descriptions_
ram_path_planning::DonghongDingGoal donghong_ding_goal_
actionlib::SimpleActionClient< ram_path_planning::FollowPosesAction > FollowPosesActionClient
ram_path_planning::FollowPosesGoal follow_poses_goal_
std::unique_ptr< DonghongDingActionClient > donghong_ding_ac_
std::unique_ptr< FollowPosesActionClient > follow_poses_ac_
unsigned loaded_last_algorithm_
void save(rviz::Config config) const
ram_path_planning::ContoursGoal contours_goal_
PathPlanning(QWidget *parent=NULL)
void donghongDingFeedbackCb(const ram_path_planning::DonghongDingFeedbackConstPtr &feedback)
DonghongDingWidget * donghong_ding_ui_
FollowPosesWidget * follow_poses_ui_
QStackedWidget * algorithm_stacked_widget_