utecrobotics / ur5

UR5 Robot with a Robotiq gripper
126 stars 35 forks source link

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) #12

Open Yxxxhu opened 10 months ago

Yxxxhu commented 10 months ago

When I try to Visualization of UR5 in RViz through roslaunch ur5_description display_with_gripper.launch.

Have an 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)

I have tried to change all the doc named display.launch state_publisher to robot_state_publisher. However, the error still appears. Please help me to solve this problem.

What should I do to solve it.

Best.

jiangxiaobaiii commented 2 months ago

robot_state_publisher

Ian-YJX commented 2 months ago

I simply tried to change "state_publisher" to"robot_state_publisher" in the display_with_gripper.launch, and the problem is solved. Hope it would help you