Skip to content

Commit

Permalink
chore: fixed ci/cd (comprehensions and shrot circuits) (#200)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
  • Loading branch information
knzo25 authored Oct 3, 2024
1 parent eac6a5a commit eaab74c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ def add_calibrator(self, service_name: str, expected_calibration_frames: List[Fr
self.calibrators.append(calibration_wrapper)

def on_service_status_changed(self):
self.services_available = all(
[calibrator.is_available() for calibrator in self.calibrators]
)
self.services_available = all(calibrator.is_available() for calibrator in self.calibrators)
self.update_status()

def on_calibration_result(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):

result = {
self.sensor_kit_frame: {
calibration_base_lidar_frame: transform
for calibration_base_lidar_frame, transform in zip(
self.calibration_base_lidar_frames, sensor_kit_to_calibration_lidar_transforms
dict(
zip(
self.calibration_base_lidar_frames,
sensor_kit_to_calibration_lidar_transforms,
)
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):

result = {
self.sensor_kit_frame: {
calibration_base_lidar_frame: transform
for calibration_base_lidar_frame, transform in zip(
self.calibration_base_lidar_frames, sensor_kit_to_calibration_lidar_transforms
dict(
zip(
self.calibration_base_lidar_frames,
sensor_kit_to_calibration_lidar_transforms,
)
)
}
}
Expand Down

0 comments on commit eaab74c

Please sign in to comment.