Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error with Tracking calibration loading. #73

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

michaelnutt2
Copy link
Contributor

Fixed error with the calibration file read that was generating a ValueError when trying to read from the tracking calibration file. The file is formatted differently from the from the Raw and Odometry calibration files, using spaces to separate the transform matrices from the values instead of a colon. Also updated the code in the tracking class to accommodate the differences in the calibration file. The _load_calibration file had a call to "self.sequence_path" that did not exist, updated the call with the correct formatting for the calibration file path.

Fixed issue in read_calib_file to accommodate for the difference in formatting in the tracking calibration files. The Tr fields don't have the : to separate the label from the calibration details, added a split to separate by the first space in this case
Previous calib_filepath depended on a variable "sequence_path", which was not defined. Set up the calib_filepath to the correct formatting for the path of the calibration file.
The Transform matrices in the calib file for the tracking dataset use the notation "Tr_cam_velo", instead of just "Tr". Updated the call with the correct transform name.
@jkelly-stars jkelly-stars merged commit de33723 into utiasSTARS:master Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants