Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lamaria/structs/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def _add_images_to_reconstruction(
else:
# left camera poses are provided
# sensor_from_rig == cam0_from_imu
left_camera = reconstruction.cameras[2]
left_camera_id = 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This information is duplicated with a few lines below

[
                (LEFT_CAMERA_STREAM_LABEL, 2),
                (RIGHT_CAMERA_STREAM_LABEL, 3),
]

left_camera = reconstruction.cameras[left_camera_id]
transform = rig.sensor_from_rig(sensor_id=left_camera.sensor_id)

for i, (timestamp, pose) in tqdm(
Expand Down