From 5b2bc4e815df4c0df736cacf279468a71cf2b60f Mon Sep 17 00:00:00 2001 From: Ethan Fahnestock Date: Mon, 16 Dec 2024 14:41:18 -0500 Subject: [PATCH] lint --- .../overhead_matching/kimera_spectacular_data_provider.cc | 5 +++-- .../overhead_matching/kimera_spectacular_data_provider.hh | 2 +- .../kimera_spectacular_data_provider_test.cc | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/experimental/overhead_matching/kimera_spectacular_data_provider.cc b/experimental/overhead_matching/kimera_spectacular_data_provider.cc index ee8f6cbe..a9fe99ae 100644 --- a/experimental/overhead_matching/kimera_spectacular_data_provider.cc +++ b/experimental/overhead_matching/kimera_spectacular_data_provider.cc @@ -42,8 +42,9 @@ SpectacularDataProviderInterface::SpectacularDataProviderInterface(const std::st } ROBOT_CHECK(final_k_ <= spec_log_.num_frames()); - ROBOT_CHECK(final_k_ > current_k_, "Value for final_k is smaller than value for current_k (initial value)", - final_k_, current_k_); + ROBOT_CHECK(final_k_ > current_k_, + "Value for final_k is smaller than value for current_k (initial value)", final_k_, + current_k_); } SpectacularDataProviderInterface::~SpectacularDataProviderInterface() { diff --git a/experimental/overhead_matching/kimera_spectacular_data_provider.hh b/experimental/overhead_matching/kimera_spectacular_data_provider.hh index c2148bb8..2b3ef5f7 100644 --- a/experimental/overhead_matching/kimera_spectacular_data_provider.hh +++ b/experimental/overhead_matching/kimera_spectacular_data_provider.hh @@ -65,7 +65,7 @@ class SpectacularDataProviderInterface : public VIO::DataProviderInterface { std::string dataset_path_; VIO::FrameId current_k_; - VIO::FrameId final_k_; // end frame + VIO::FrameId final_k_; // end frame //! Flag to signal if the IMU data has been sent to the VIO pipeline bool is_imu_data_sent_ = false; diff --git a/experimental/overhead_matching/kimera_spectacular_data_provider_test.cc b/experimental/overhead_matching/kimera_spectacular_data_provider_test.cc index cc1ce5f0..eac241e8 100644 --- a/experimental/overhead_matching/kimera_spectacular_data_provider_test.cc +++ b/experimental/overhead_matching/kimera_spectacular_data_provider_test.cc @@ -25,8 +25,10 @@ bool compare_imu_samples(const robot::experimental::overhead_matching::ImuSample const VIO::ImuMeasurement& kimera_imu) { // timestamp if (kimera_imu.timestamp_ != robot_imu.time_of_validity.time_since_epoch().count()) { - fmt::print("Kimera timestamp: {} | robot timestamp: {}", kimera_imu.timestamp_, robot_imu.time_of_validity.time_since_epoch().count()); - fmt::print("diff {}", robot_imu.time_of_validity.time_since_epoch().count() - kimera_imu.timestamp_); + fmt::print("Kimera timestamp: {} | robot timestamp: {}", kimera_imu.timestamp_, + robot_imu.time_of_validity.time_since_epoch().count()); + fmt::print("diff {}", + robot_imu.time_of_validity.time_since_epoch().count() - kimera_imu.timestamp_); return false; } // accel and gyro values