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)
运行古月居rviz教学包mrobot_description功能包,运行 display_mrobot_chassis_urdf.launch文件出现错误:
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)
原因是display_mrobot_chassis_urdf.launch文件中,节点robot_state_publisher标签的type写错了,不是type=“state_publisher”,而是type=“robot_state_publisher”