Skip to content

Commit 6a51f1a

Browse files
removing the start navigation message in the paused state from rviz buttons (#5137)
Signed-off-by: Pradheep <[email protected]>
1 parent 6e58fbe commit 6a51f1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nav2_rviz_plugins/src/nav2_panel.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,8 @@ Nav2Panel::Nav2Panel(QWidget * parent)
320320
paused_->assignProperty(pause_resume_button_, "toolTip", resume_msg);
321321
paused_->assignProperty(pause_resume_button_, "enabled", true);
322322

323-
paused_->assignProperty(navigation_mode_button_, "text", "Start navigation");
324-
paused_->assignProperty(navigation_mode_button_, "toolTip", resume_msg);
325-
paused_->assignProperty(navigation_mode_button_, "enabled", true);
323+
paused_->assignProperty(navigation_mode_button_, "text", "");
324+
paused_->assignProperty(navigation_mode_button_, "enabled", false);
326325

327326
paused_->assignProperty(save_waypoints_button_, "text", "Save WPs");
328327
paused_->assignProperty(save_waypoints_button_, "enabled", false);

0 commit comments

Comments
 (0)