Skip to content

Commit 67da8eb

Browse files
style(pre-commit): autofix
1 parent 0656ecf commit 67da8eb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

sensing/pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_nodelet.cpp

+5-6
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,10 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
696696
diag_status_msg.values.push_back(key_value_msg);
697697
}
698698

699-
if(not_subscribed_topic_names_.size() > 0) {
699+
if (not_subscribed_topic_names_.size() > 0) {
700700
consecutive_concatenate_failures += 1;
701-
}else{
702-
consecutive_concatenate_failures = 0;
701+
} else {
702+
consecutive_concatenate_failures = 0;
703703
}
704704

705705
{
@@ -709,10 +709,10 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
709709
diag_status_msg.values.push_back(key_value_msg);
710710
}
711711

712-
if(consecutive_concatenate_failures > 1){
712+
if (consecutive_concatenate_failures > 1) {
713713
diag_status_msg.level = diagnostic_msgs::msg::DiagnosticStatus::WARN;
714714
diag_status_msg.message = "Some topics are not concatenated";
715-
}else{
715+
} else {
716716
diag_status_msg.level = diagnostic_msgs::msg::DiagnosticStatus::OK;
717717
diag_status_msg.message = "Concatenate all topics";
718718
}
@@ -722,7 +722,6 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
722722
diag_msg.status.push_back(diag_status_msg);
723723

724724
diagnostics_pub_->publish(diag_msg);
725-
726725
}
727726
} // namespace pointcloud_preprocessor
728727

0 commit comments

Comments
 (0)