Skip to content

Commit

Permalink
chore: updated misleading names
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
  • Loading branch information
knzo25 committed Apr 9, 2024
1 parent d33e95d commit 45453cf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, ros_interface: RosInterface, **kwargs):
)

def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
camera_to_lidar_transform = calibration_transforms[
optical_link_to_lidar_transform = calibration_transforms[
f"{self.camera_name}/camera_optical_link"
]["pandar_top"]

Expand All @@ -58,7 +58,7 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):

sensor_kit_camera_link_transform = np.linalg.inv(
camera_to_optical_link_transform
@ camera_to_lidar_transform
@ optical_link_to_lidar_transform
@ np.linalg.inv(sensor_kit_to_lidar_transform)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, ros_interface: RosInterface, **kwargs):
)

def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
camera_to_lidar_transform = calibration_transforms[
optical_link_to_lidar_transform = calibration_transforms[
f"{self.camera_name}/camera_optical_link"
][self.lidar_frame]

Expand All @@ -79,7 +79,7 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):

sensor_kit_camera_link_transform = np.linalg.inv(
camera_to_optical_link_transform
@ camera_to_lidar_transform
@ optical_link_to_lidar_transform
@ np.linalg.inv(sensor_kit_to_lidar_transform)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, ros_interface: RosInterface, **kwargs):
)

def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
camera_to_lidar_transform = calibration_transforms[
optical_link_to_lidar_transform = calibration_transforms[
f"{self.camera_name}/camera_optical_link"
]["velodyne_top"]
sensor_kit_to_lidar_transform = self.get_transform_matrix(
Expand All @@ -55,7 +55,7 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
)
sensor_kit_camera_link_transform = np.linalg.inv(
camera_to_optical_link_transform
@ camera_to_lidar_transform
@ optical_link_to_lidar_transform
@ np.linalg.inv(sensor_kit_to_lidar_transform)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, ros_interface: RosInterface, **kwargs):
)

def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
camera_to_lidar_transform = calibration_transforms[
optical_link_to_lidar_transform = calibration_transforms[
f"{self.camera_name}/camera_optical_link"
]["velodyne_top"]
sensor_kit_to_lidar_transform = self.get_transform_matrix(
Expand All @@ -55,7 +55,7 @@ def post_process(self, calibration_transforms: Dict[str, Dict[str, np.array]]):
)
sensor_kit_camera_link_transform = np.linalg.inv(
camera_to_optical_link_transform
@ camera_to_lidar_transform
@ optical_link_to_lidar_transform
@ np.linalg.inv(sensor_kit_to_lidar_transform)
)

Expand Down

0 comments on commit 45453cf

Please sign in to comment.