Resource not found

Resource not found: kinova-ros
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/xia/catkin_ws/src
ROS path [2]=/opt/ros/melodic/share
The traceback for the exception was written to the log file
在这里插入图片描述

原因
1.没有source,需要catkin_make后source devel/setip.bash
2.找不到功能包,find 参数应为包含launch文件的功能包(只含有一个cmakelist的功能包)
在这里插入图片描述上面的路径不是包含要启动launch文件的功能包,报错,虽然该路径下可以找到文件launch文件,但find后 为 功能包名称,而非绝对路径

正确格式<include file="$(find flie_pkg_name)/launch/xx.launch">
3. include 包含的launch文件 ,需要在同一个综合功能包中
在这里插入图片描述

Unable to launch

RLException: Unable to launch [j2_gazebo_model-1].
If it is a script, you may be missing a ‘#!’ declaration at the top.
The traceback for the exception was written to the log file
在这里插入图片描述

解决:
可能是launch内部格式、参数不对
例如,使用node方法 启动 其他launch文件,正确应该用include方法 启动其他launch文件

The kinematics plugin (arm) failed to load

roslaunch j2n6s200_moveit_config demo.launch
在这里插入图片描述 解决:sudo apt-get install ros-melodic-trac-ik-kinematics-plugin
注意版本

Invalid roslaunch XML syntax

在这里插入图片描述通常是,launch文件的格式不对,或者引用launch文件的名称路径错误

ROSInitException: time is not initialized

需在执行程序(实例化)之前要先init_node

moveit启动的报错::EQUIRED process [moveit_setup_assistant-1] has died!

在这里插入图片描述
从报错日志上看是加载共享库出现问题,找不到目录,一个可能的原因是没有将moveit的路径加入到当前bash下,解决(注意对应版本):

source /opt/ros/noetic/setup.bash
Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐