0
$\begingroup$

Rosanswers logo

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.


Originally posted by tengfei on ROS Answers with karma: 88 on 2017-11-22

Post score: 1


Original comments

Comment by gvdhoorn on 2017-11-23:\

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).

Comment by tengfei on 2017-11-23:
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.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by tengfei with karma: 88 on 2017-11-23

This answer was ACCEPTED on the original site

Post score: 4

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.