ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

ERROR: cannot launch node of type [controller_manager/controller_manager]: can't locate node [controller_manager] in package [controller_manager]

asked 2017-11-22 21:09:42 -0500

tengfei gravatar image

Hi all. I installed the university_robot package and roslaunch ur_gazebo ur10.launch but there is an error output:

`ERROR: cannot launch node of type [controller_manager/controller_manager]: can't locate node [controller_manager] in package [controller_manager]

ERROR: cannot launch node of type [controller_manager/controller_manager]: can't locate node [controller_manager] in package [controller_manager]

I runrosservice list | grep controller_manager` the output is

`/controller_manager/list_controller_types
/controller_manager/list_controllers
/controller_manager/load_controller
/controller_manager/reload_controller_libraries
/controller_manager/switch_controller
/controller_manager/unload_controller

`I have installed the controller_manager. Could someone give me some advice?Thanks.

edit retag flag offensive close merge delete

Comments

I installed the university_robot package [..]

the first thing would be for you to tell us how you installed it.

The error message seems to indicate that some dependencies are missing, which should only happen if you did a from-sources installation (ie: not used the .debs).

gvdhoorn gravatar image gvdhoorn  ( 2017-11-23 01:48:57 -0500 )edit

Thanks gvdhoorn. I have solved this problem. In my catkin_ws/src, there is a ros_control package contains nothing in it.I don't why when I use rosrun and use the tab can make the full name with control_manager. I removed all the packages related ros_control and reinstalled them then it works.

tengfei gravatar image tengfei  ( 2017-11-23 04:21:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2017-11-23 04:25:22 -0500

tengfei gravatar image

I have solved this problem. In my catkin_ws/src, there is a ros_control package contains nothing in it.And I have installed ros_control by rosrun apt-get install ros-indigo-ros-control,I guess the ros will first search the package in catkin_ws/src.If there is no this package,it will search the package in /opt/ros/,I don't why when I use rosrun and use the tab can make the full name with control_manager. But I guess this is the reason that why ros can't locate node [controller_manager] in package . So I removed all the packages related ros_control and reinstalled them, then it works.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-11-22 21:09:42 -0500

Seen: 4,551 times

Last updated: Nov 23 '17