You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am currently trying to run visual-inertial SLAM using your app.
I successfully installed the app and recorded a video, but I cannot calibrate my camera.
Traceback (most recent call last):
File "data2kalibr.py", line 120, in <module>
create_camera_yaml(proto, camera_yaml_path, args.matlab_calibration)
File "data2kalibr.py", line 19, in create_camera_yaml
q = Quaternion(c.lens_pose_rotation[3], *c.lens_pose_rotation[:3])
IndexError: list index (3) out of range
I am struggling to find what caused this error. Is it because camera_meta variable has no attribute lens_pose_rotation?
I checked out issue #5 so I know that it is fine to not have intrinsic_param.
I would appreciate your suggestion or advice.
The text was updated successfully, but these errors were encountered:
Hi,
It seems that I've assumed that there is a lens_pose_rotation value, but it is not present in your setup.
We have to adjust the code so that if no transform is available we set P=np.eye(4).
As a quick fix you could replace row 18-26 with this assignment instead. Please let me know if it works.
Hello,
I am currently trying to run visual-inertial SLAM using your app.
I successfully installed the app and recorded a video, but I cannot calibrate my camera.
When I try to run this code:
It gives me this error:
Apparently it is caused by this part of the file:
I am struggling to find what caused this error. Is it because
camera_meta
variable has no attributelens_pose_rotation
?I checked out issue #5 so I know that it is fine to not have
intrinsic_param
.I would appreciate your suggestion or advice.
The text was updated successfully, but these errors were encountered: