ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

Running Node issue

Open alstjr510 opened this issue 3 years ago • 1 comments

I want to run a node called Mono using ROS.

I'm on the GitHub 1.gedit ~/.bashrc 2.export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:PATH/ORB_SLAM3/Examples/ROS (I have set it to my path.) 3.chmod +x build_ros.sh ./build_ros.sh

I completed number 3 and there was no error, but it seems that the node Mono is not running.

The following is the log when you run ./build_ros.sh. log.txt

And the following is the code that I executed at the terminal. (base) jangminseock@me:~/jms_ws/src/ORB_SLAM3$ rosrun ORB_SLAM3 Mono PATH_TO_VOCABULARY PATH_TO_SETTINGS_FILE [rosrun] Couldn't find executable named Mono below /home/jangminseock/jms_ws/src/ORB_SLAM3/Examples_old/ROS/ORB_SLAM3

If you press tab after rosrun ORB_SLAM3 , you should have a node called Mono, but it doesn't. Do you know the solution?

alstjr510 avatar Jun 29 '22 09:06 alstjr510

Hi -- there should be an executable called "Mono" in the ORB_SLAM3 ros directory after calling ./build_ros.sh. It doesn't look like your log has information about compiling this, so I would double check that the executable actually exists and, if not, figure out why.

ghkeller avatar Jul 20 '22 19:07 ghkeller