uuv_simulator icon indicating copy to clipboard operation
uuv_simulator copied to clipboard

ResourceNotFound: uuv_simulation_wrapper

Open ccs-ros opened this issue 4 years ago • 12 comments

hi,when i run the command "roslaunch rexrov2_gazebo start_demo_pid_controller.launch teleop_on:=true joy_id:=0",the following erroe occurred!

ResourceNotFound: uuv_simulation_wrapper ROS path [0]=/opt/ros/kinetic/share/ros ROS path [1]=/home/ccs/catkin_uuv/src ROS path [2]=/home/ccs/cartographer_ws/catkin_ws/src ROS path [3]=/home/ccs/catkin_robot/src ROS path [4]=/home/ccs/catkin_bluerov/src ROS path [5]=/opt/ros/kinetic/share

what should i do to solve this problem? thank you!

ccs-ros avatar Sep 07 '19 11:09 ccs-ros

Same error with uuv_simulator installed from binaries for melodic

Resource not found: uuv_simulation_wrapper ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/roosh/catkin_ws/src ROS path [2]=/opt/ros/melodic/share The traceback for the exception was written to the log file

rooshm avatar Oct 10 '19 18:10 rooshm

I have solved this problem.Thank you! @rooshm

ccs-ros avatar Oct 11 '19 01:10 ccs-ros

How exactly? Any details would be helpful!

rooshm avatar Oct 11 '19 08:10 rooshm

I have not put the package "uuv_simulation_evaluation" in the workspace before.So,this error "Resource not found: uuv_simulation_wrapper" occured. @rooshm

ccs-ros avatar Oct 11 '19 11:10 ccs-ros

Hey, I have the same error. How can I add uuv_simulation_evaluation to the workspace?

max0619 avatar Oct 11 '19 16:10 max0619

Just open terminal and enter your workspace,then "git clone https://github.com/uuvsimulator/uuv_simulation_evaluation.git".The error mentioned above will disappear.But when i run the catkin_make in the workspace,i met a new trouble: CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "uuv_simulation_evaluation" with any of the following names:

uuv_simulation_evaluationConfig.cmake
uuv_simulation_evaluation-config.cmake

Add the installation prefix of "uuv_simulation_evaluation" to CMAKE_PREFIX_PATH or set "uuv_simulation_evaluation_DIR" to a directory containing one of the above files. If "uuv_simulation_evaluation" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): uuv_simulation_evaluation/uuv_smac_utils/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/ccs/catkin_uuv/build/CMakeFiles/CMakeOutput.log". See also "/home/ccs/catkin_uuv/build/CMakeFiles/CMakeError.log". Makefile:5120: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 @max0619

ccs-ros avatar Oct 13 '19 02:10 ccs-ros

Ok, I solved the problem, too. I added the uuv_simulation_evaluation to my workspace as described above but i used catkin build (comes with catkin tools) instead of catkin_make (you eventually have to run catkin clean before using catkin build).

max0619 avatar Oct 17 '19 13:10 max0619

I am sorry that the reply is late.I solved the problem with your method.And,can you run the "roslaunch uuv_tutorial_rov_modle upload_rov_example.launch" successfully? I have encountered the following problem:

[upload_rov_example.launch] is neither a launch file in package [uuv_tutorial_rov_modle] nor is [uuv_tutorial_rov_modle] a launch file name The traceback for the exception was written to the log file

other packages can run successfully.I don't know why! @max0619

ccs-ros avatar Oct 25 '19 08:10 ccs-ros

@ccs-ros I got the same error, too, but rerunning source devel/setup.bash in your catkin-folder fixes this

max0619 avatar Oct 30 '19 15:10 max0619

In case someone can't run catkin_build because their workspace has other components that need catkin_make, the following pull request https://github.com/uuvsimulator/rexrov2/pull/32 should work on non lunar workspaces

rooshm avatar Nov 01 '19 09:11 rooshm

When I run roslaunch rexrov2_gazebo start_demo_pid_controller.launch teleop_on:=true joy_id:=0 I have the similar problem as you had before;

Resource not found: uuv_simulation_wrapper ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/robotic/catkin_ws/src ROS path [2]=/opt/ros/melodic/share The traceback for the exception was written to the log file

To solve this problem, I am doing; ~/catkin_ws/src$ git clone https://github.com/uuvsimulator/uuv_simulation_evaluation then I am doing; ~/catkin_ws$ catkin_make But I encounter this error;

CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "uuv_simulation_evaluation" with any of the following names: uuv_simulation_evaluationConfig.cmake uuv_simulation_evaluation-config.cmake Add the installation prefix of "uuv_simulation_evaluation" to CMAKE_PREFIX_PATH or set "uuv_simulation_evaluation_DIR" to a directory containing one of the above files. If "uuv_simulation_evaluation" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): uuv_simulation_evaluation/uuv_smac_utils/CMakeLists.txt:4 (find_package)

What should I do now?

kamilcetin avatar Jan 12 '22 12:01 kamilcetin

You can try out the fix from this pull request:

https://github.com/uuvsimulator/uuv_simulation_evaluation/pull/54/files

tiko5000 avatar Apr 04 '22 08:04 tiko5000