Skip to content

Commit

Permalink
chore: fix typos (#886)
Browse files Browse the repository at this point in the history
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
  • Loading branch information
badai-nguyen authored May 12, 2022
1 parent 7307ce7 commit 90f8d8c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ BlockageDiagComponent::BlockageDiagComponent(const rclcpp::NodeOptions & options

updater_.setHardwareID("blockage_diag");
updater_.add(
std::string(this->get_namespace()) + ": ground_blockage_validation", this,
std::string(this->get_namespace()) + ": blockage_validation", this,
&BlockageDiagComponent::onBlockageChecker);
updater_.setPeriod(0.1);

Expand Down Expand Up @@ -93,9 +93,9 @@ void BlockageDiagComponent::onBlockageChecker(DiagnosticStatusWrapper & stat)
if (level == DiagnosticStatus::OK) {
msg = "OK";
} else if (level == DiagnosticStatus::WARN) {
msg = "WARNING: LiDAR ground blockage";
msg = "WARNING: LiDAR blockage";
} else if (level == DiagnosticStatus::ERROR) {
msg = "ERROR: LiDAR ground blockage";
msg = "ERROR: LiDAR blockage";
} else if (level == DiagnosticStatus::STALE) {
msg = "STALE";
}
Expand Down

0 comments on commit 90f8d8c

Please sign in to comment.