From 67c7f1b660c114f36d71d6121ac18001d5707460 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 06:53:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../rosbag2/rosbag2_to_non_annotated_t4_converter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/perception_dataset/rosbag2/rosbag2_to_non_annotated_t4_converter.py b/perception_dataset/rosbag2/rosbag2_to_non_annotated_t4_converter.py index 42c55479..70cbda94 100644 --- a/perception_dataset/rosbag2/rosbag2_to_non_annotated_t4_converter.py +++ b/perception_dataset/rosbag2/rosbag2_to_non_annotated_t4_converter.py @@ -603,7 +603,9 @@ def _convert_image( misc_utils.nusc_timestamp_to_unix_timestamp(sample_record.timestamp) for sample_record in sample_records ] - lidar_to_camera_latency_sec = self._camera_lidar_latency_margin + self._lidar_latency + self._camera_latency + lidar_to_camera_latency_sec = ( + self._camera_lidar_latency_margin + self._lidar_latency + self._camera_latency + ) synced_frame_info_list = misc_utils.get_lidar_camera_synced_frame_info( image_timestamp_list=image_timestamp_list, lidar_timestamp_list=lidar_timestamp_list,