From a61baea38a22169e96921dc378b0e8dd780d91dd Mon Sep 17 00:00:00 2001 From: Jaeyoung-Lim Date: Fri, 29 Mar 2024 15:42:32 +0100 Subject: [PATCH] Disable return while navigate --- mav_planning_rviz/src/planning_panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mav_planning_rviz/src/planning_panel.cpp b/mav_planning_rviz/src/planning_panel.cpp index 2bd232ac..89f91928 100644 --- a/mav_planning_rviz/src/planning_panel.cpp +++ b/mav_planning_rviz/src/planning_panel.cpp @@ -621,7 +621,7 @@ void PlanningPanel::plannerstateCallback(const planner_msgs::NavigationStatus& m set_planner_state_buttons_[0]->setDisabled(true); // NAVIGATE set_planner_state_buttons_[1]->setDisabled(true); // ROLLOUT set_planner_state_buttons_[2]->setDisabled(false); // ABORT - set_planner_state_buttons_[3]->setDisabled(false); // RETURN + set_planner_state_buttons_[3]->setDisabled(true); // RETURN break; } case PLANNER_STATE::ROLLOUT: {