Skip to content

Commit

Permalink
fix check target mode
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
  • Loading branch information
isamu-takagi committed Apr 3, 2024
1 parent 1e561c2 commit 8b190b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/hazard_status_converter/src/converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void Converter::on_graph(const DiagnosticGraph::ConstSharedPtr msg)

const auto get_root = [this]() {
if (mode_) {
if (mode_->mode == OperationMode::STOP) return "/autoware/modes/stop";
if (mode_->mode == OperationMode::STOP) return "/autoware/modes/autonomous";
if (mode_->mode == OperationMode::AUTONOMOUS) return "/autoware/modes/autonomous";
if (mode_->mode == OperationMode::LOCAL) return "/autoware/modes/local";
if (mode_->mode == OperationMode::REMOTE) return "/autoware/modes/remote";
Expand Down

0 comments on commit 8b190b7

Please sign in to comment.