Commit 67da8eb 1 parent 0656ecf commit 67da8eb Copy full SHA for 67da8eb
File tree 1 file changed +5
-6
lines changed
sensing/pointcloud_preprocessor/src/concatenate_data
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -696,10 +696,10 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
696
696
diag_status_msg.values .push_back (key_value_msg);
697
697
}
698
698
699
- if (not_subscribed_topic_names_.size () > 0 ) {
699
+ if (not_subscribed_topic_names_.size () > 0 ) {
700
700
consecutive_concatenate_failures += 1 ;
701
- }else {
702
- consecutive_concatenate_failures = 0 ;
701
+ } else {
702
+ consecutive_concatenate_failures = 0 ;
703
703
}
704
704
705
705
{
@@ -709,10 +709,10 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
709
709
diag_status_msg.values .push_back (key_value_msg);
710
710
}
711
711
712
- if (consecutive_concatenate_failures > 1 ){
712
+ if (consecutive_concatenate_failures > 1 ) {
713
713
diag_status_msg.level = diagnostic_msgs::msg::DiagnosticStatus::WARN;
714
714
diag_status_msg.message = " Some topics are not concatenated" ;
715
- }else {
715
+ } else {
716
716
diag_status_msg.level = diagnostic_msgs::msg::DiagnosticStatus::OK;
717
717
diag_status_msg.message = " Concatenate all topics" ;
718
718
}
@@ -722,7 +722,6 @@ void PointCloudConcatenateDataSynchronizerComponent::checkConcatStatus()
722
722
diag_msg.status .push_back (diag_status_msg);
723
723
724
724
diagnostics_pub_->publish (diag_msg);
725
-
726
725
}
727
726
} // namespace pointcloud_preprocessor
728
727
You can’t perform that action at this time.
0 commit comments