diff --git a/sensor_calibration_manager/launch/drs/mapping_based_lidar_lidar_calibrator.launch.xml b/sensor_calibration_manager/launch/drs/mapping_based_lidar_lidar_calibrator.launch.xml index b8939b93..500413c2 100644 --- a/sensor_calibration_manager/launch/drs/mapping_based_lidar_lidar_calibrator.launch.xml +++ b/sensor_calibration_manager/launch/drs/mapping_based_lidar_lidar_calibrator.launch.xml @@ -7,9 +7,9 @@ - + - + diff --git a/sensor_calibration_manager/sensor_calibration_manager/calibrators/drs/mapping_based_lidar_lidar_calibrator.py b/sensor_calibration_manager/sensor_calibration_manager/calibrators/drs/mapping_based_lidar_lidar_calibrator.py index 7edef5c0..422b9e56 100644 --- a/sensor_calibration_manager/sensor_calibration_manager/calibrators/drs/mapping_based_lidar_lidar_calibrator.py +++ b/sensor_calibration_manager/sensor_calibration_manager/calibrators/drs/mapping_based_lidar_lidar_calibrator.py @@ -61,14 +61,10 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]): ] result = { - self.base_link: { - calibration_lidar_frame: transform - for calibration_lidar_frame, transform in zip( - self.calibration_lidar_frames, base_to_calibration_lidar_transforms - ) - } + self.base_link: dict( + zip(self.calibration_lidar_frames, base_to_calibration_lidar_transforms) + ) } - result[self.base_link][self.mapping_lidar_frame] = base_to_mapping_transform return result