From b64c679c8b49dd68be88d76b1ef74fc110d84f10 Mon Sep 17 00:00:00 2001 From: TetsuKawa Date: Mon, 4 Mar 2024 16:57:33 +0900 Subject: [PATCH] feat: add pull over to autoware_state_panel of rviz Signed-off-by: TetsuKawa --- common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp b/common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp index aa1dcfcd1651d..ba961b9ac5b00 100644 --- a/common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp +++ b/common/tier4_state_rviz_plugin/src/autoware_state_panel.cpp @@ -502,6 +502,11 @@ void AutowareStatePanel::onMRMState(const MRMState::ConstSharedPtr msg) style_sheet = "background-color: #00FF00;"; // green break; + case MRMState::PULL_OVER: + text = "PULL_OVER"; + style_sheet = "background-color: #FFFF00;"; // yellow + break; + case MRMState::COMFORTABLE_STOP: text = "COMFORTABLE_STOP"; style_sheet = "background-color: #FFFF00;"; // yellow