thien94 / orb_slam3_ros

A ROS implementation of ORB_SLAM3
GNU General Public License v3.0
261 stars 81 forks source link

RLException: [ntuviral_mono.launch] is neither a launch file in package [orb_slam3_ros] nor is [orb_slam3_ros] a launch file name #15

Open Zolubas opened 1 year ago

Zolubas commented 1 year ago

Hello! I followed the step-by-step installation listed in the README file and then tried to launch the first example with monocular camera.

When I used:

$ roslaunch orb_slam3_ros ntuviral_mono.launch

I encountered the following error:

RLException: [ntuviral_mono.launch] is neither a launch file in package [orb_slam3_ros] nor is [orb_slam3_ros] a launch file name

Can you help me to solve this issue? Thank you Thien!

thien94 commented 1 year ago

Hi @Zolubas , thanks for checking out the package.

Did you source the setup.bash file before launching? Try executing source /home/[your path]/catkin_ws/devel/setup.bash and then run the roslaunch command again.

If that fixes the issue, you can add the source .../setup.bash command to the end of ~/.bashrc file so you don't have to do it again for every new terminal.

Zolubas commented 1 year ago

Hi Thien! Thanks! It solved my problem. In addition, I would like to suggest to you inform in the README file that is necessary to do the download of the rosbag file. I confess spent hours trying to find the rosbag. Thanks Thien! Have a great week!

thien94 commented 1 year ago

Hi Zolubas, good to know that it finally worked out for you.

I agree it would be helpful to explicitly state that you need to download the bag files. I will include it in a future update. Thanks for the suggestion!