Skip to content

Commit

Permalink
fix(rosbag_to_non_annotated_t4): fix non initialized variable
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Dec 12, 2023
1 parent df60a1c commit 9011ab2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,8 @@ def _convert_image(
topics=[topic], start_time=start_time_in_time
)
for image_index, lidar_frame_index, dummy_image_timestamp in synced_frame_info_list:
lidar_sample_token: str = sample_records[lidar_frame_index].token
if dummy_image_timestamp is None:
lidar_sample_token: str = sample_records[lidar_frame_index].token

image_msg = None
while image_index_counter < image_index:
image_msg = next(image_generator)
Expand Down

0 comments on commit 9011ab2

Please sign in to comment.