ros2 run orb_slam2_ros orb_slam2_ros_mono ORBvoc.txt
[INFO] [1693671298.913516708] [orb_slam2_mono_node]: Camera info received.
ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.
OpenCV version : 4.5.5
Major version : 4
Minor version : 5
Subminor version : 5
Input sensor was set to: Monocular
Loading ORB Vocabulary.
An error occured while opening the input stream.
Cannot find binary file for vocabulary.
Failed to open at: file_not_set.bin
Trying to open the text file. This could take a while...
An error occured while opening the input stream.
Wrong path to vocabulary.
Failed to open at: file_not_set
Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
at line 127 in ./src/class_loader.cpp
Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap! You should delete your objects before attempting to unload the library or destroying the ClassLoader. The library will NOT be unloaded.
at line 127 in ./src/class_loader.cpp
[ros2run]: Process exited with failure 255
it also not working with abs path to vocab:
ros2 run orb_slam2_ros orb_slam2_ros_mono /home/rock/ORB_SLAM2/Vocabulary/ORBvoc.txt
my camera starts well:
ros2 run gscam2 gscam_main --ros-args --remap /image_raw:=/camera/image_raw --remap /camera_info:=/camera/camera_info -p camera_info_url:=file:///home/rock/ros2_ws/src/gscam2/cfg/my_camera.ini
i`ve built ros2 orb_slam2 package but cant start:
it also not working with abs path to vocab:
ros2 run orb_slam2_ros orb_slam2_ros_mono /home/rock/ORB_SLAM2/Vocabulary/ORBvoc.txt
my camera starts well:
ros2 run gscam2 gscam_main --ros-args --remap /image_raw:=/camera/image_raw --remap /camera_info:=/camera/camera_info -p camera_info_url:=file:///home/rock/ros2_ws/src/gscam2/cfg/my_camera.ini
could you help a bit ?