MikeS96 / autonomous_landing_uav

ROS packages of the Autonomous landing system of a UAV in Gazebo
MIT License
159 stars 54 forks source link

rosdep error! #8

Closed mohammadrezaaerospace closed 2 years ago

mohammadrezaaerospace commented 2 years ago

Hi Mike, I did it all steps in this project but have a problem in final step . When I run this command for launching: $roslaunch mavros_off_board mavros_posix_sitl.launch

This error apears: RLException: [mavros_posix_sitl.launch] is neither a launch file in package [mavros_off_board] nor is [mavros_off_board] a launch file name The traceback for the exception was written to the log file what is the problem? Did I missed any steps or is there any fault? Best Regards

MikeS96 commented 2 years ago

Hi @mohammadrezaaerospace,

It seems like a "sourcing" issue. The file you are trying to launch is effectively located at mavros_off_board/launch/mavros_posix_sitl.launch. Is your catkin workspace named catkin_ws? If it has a different name, in the command source ~/catkin_ws/devel/setup.bash you will have to change the "catkin_ws" with the name of the folder of your catkin workspace.

mohammadrezaaerospace commented 2 years ago

Hi @mohammadrezaaerospace,

It seems like a "sourcing" issue. The file you are trying to launch is effectively located at mavros_off_board/launch/mavros_posix_sitl.launch. Is your catkin workspace named catkin_ws? If it has a different name, in the command source ~/catkin_ws/devel/setup.bash you will have to change the "catkin_ws" with the name of the folder of your catkin workspace.

Hi @MikeS96 The folder name is exactly catkin_ws but I still have this problem!