you are connected to an OS version that is unsupported by Visual Studio Code
连接到的操作系统版本不受vscode支持。解决方法,把vscode降低到1.85之前的版
RLException: [demo.launch] is neither a launch file in package [mybot_pkg] nor is [mybot_pkg] a launch file name The traceback for the exception was written to the log file
catkin_make之后没有source 一下
ERROR: cannot launch node of type [joint_state_publisher_gui/joint_state_publisher_gui]:
没有安装软件包 检查一下:rospack find joint_state_publisher_gui
安装:sudo apt-get install ros-melodic-joint-state-publisher-gui
[ERROR] [1713753874.695319122]: No link elements found in urdf file
noetic 版本下命令变动 <mrobot_body/>修改为<xacro:mrobot_body/>
ERROR: cannot launch node of type [arbotix_python/arbotix_driver]: Cannot locate node of type [arbotix_driver] in package [arbotix_python]. Make sure file exists in package path and permission is set to executable (chmod +x)
给python文件运行权限: ~/catkin_ws/src/arbotix_python/bin$ chmod +x arbotix_driver
process[mrobot_teleop-1]: started with pid [11300] /usr/bin/env: “python”:
没有那个文件或目录。你可以通过查看脚本的第一行(shebang行)来确定这一点。例如,如果脚本的第一行是#!/usr/bin/env python,那么它可能期望使用Python 2。如果是#!/usr/bin/env python3,则它期望使用Python 3
1. ERROR: cannot launch node of type [depthimage_to_laserscan/depthimage_to_laserscan]: depthimage_to_laserscan ROS path
[0]=/opt/ros/noetic/share/ros ROS path
[1]=/home/ros/catkin_ws/src ROS path
[2]=/opt/ros/noetic/share
没有安装depthimage_to_laserscan 节点
sudo apt install ros-noetic-depthimage-to-laserscan
2. ERROR: cannot launch node of type [mrobot_teleop/mrobot_teleop.py]: mrobot_teleop ROS path [0]=/opt/ros/noetic/share/ros ROS path [1]=/home/ros/demo_ws/src ROS path [2]=/opt/ros/noetic/share
根据提示信息找到mrobot_teleop/mrobot_teleop.py,是launch文件中pkg=包名写错
ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: Cannot locate node of type [state_publisher] in package [robot_state_publisher]. Make sure file exists in package path and permission is set to executable (chmod +x)
没有state_publisher,使用ros_state_publisher
寻找robot_state_publisher包路径: rospack find robot_state_publisher
rviz Global Status:Error Fixed Frame Unknown frame map
rostopic list中明明存在map,拟节点冲突