-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hey, thanks for releasing these bindings!
I'm getting the following error when running the example script mentioned in the readme:
python3 examples/orbslam_mono_tum.py [PATH_TO_ORBSLAM]/Vocabulary/ORBvoc.txt [PATH_TO_ORBSLAM]/Examples_old/Monocular/TUM2.yaml [PATH_TO_TUM]/rgbd_dataset_freiburg2_pioneer_slam/
Output:
(stretch-ai) smnair@guacamole:/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings$ python3 examples/orbslam_mono_tum.py \
/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3/Vocabulary/ORBvoc.txt \
/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3/Examples_old/Monocular/TUM2.yaml \
/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings/examples/data/rgbd_dataset_freiburg2_pioneer_slam
...
Fail to track local map!
Fail to track local map!
Fail to track local map!
Fail to track local map!
Fail to track local map!
Fail to track local map!
Fail to track local map!
Creation of new map with id: 5
Stored map with ID: 4
Creation of new map with last KF id: 1000
First KF:1000; Map init KF:1000
New Map created with 228 points
Traceback (most recent call last):
File "/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings/examples/orbslam_mono_tum.py", line 94, in <module>
main(sys.argv[1], sys.argv[2], sys.argv[3])
File "/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings/examples/orbslam_mono_tum.py", line 47, in main
save_trajectory(slam.get_trajectory_points(), 'trajectory.txt')
File "/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings/examples/orbslam_mono_tum.py", line 74, in save_trajectory
traj_file.writelines('{time} {r00} {r01} {r02} {t0} {r10} {r11} {r12} {t1} {r20} {r21} {r22} {t2}\n'.format(
File "/pub0/smnair/robotics/scene_rep/graph-robotics/third-party/stretch_ai/third_party/ORB_SLAM3-PythonBindings/examples/orbslam_mono_tum.py", line 88, in <genexpr>
) for stamp, r00, r01, r02, t0, r10, r11, r12, t1, r20, r21, r22, t2 in trajectory)
ValueError: not enough values to unpack (expected 13, got 8)
Segmentation fault (core dumped)
Is this a bug in the examples/orbslam_mono_tum.py or am I configuring something incorrectly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels