Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is package controller_manager? #78

Closed
marooncn opened this issue Sep 25, 2017 · 10 comments
Closed

Where is package controller_manager? #78

marooncn opened this issue Sep 25, 2017 · 10 comments

Comments

@marooncn
Copy link

marooncn commented Sep 25, 2017

When I launch irb120_3_58_gazebo.launch in abb_irb120_gazebo package. There comes an error:

ERROR: cannot launch node of type [controller_manager/controller_manager]: controller_manager
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/maroon/abb_experimental_ws/src
ROS path [3]=/opt/ros/kinetic/share

And I can't find the package in ROS.

@gavanderhoorn
Copy link
Member

controller_manager is a package in the ros_control set of packages.

Can you describe how you setup your workspace and how you build it? Cloning just this repository is not enough, and is typically the reason for these kind of problems.

@marooncn
Copy link
Author

marooncn commented Sep 25, 2017

I cloned this package to my workspace/src path and used catkin_make to compile and there is something warning. So I rebuild it use wstool and cmake tool.
In short, after I failed to compile using catkin_make command in workspace, I run the below command in workspace/src path:
wstool init .
wstool merge abb_experimental/abb_experimental.rosinstall
wstool update
mkdir build && cd build && cmake ../ && make && sudo make install

@gavanderhoorn
Copy link
Member

There is a divergence between the readme and the instructions on the wiki. Try the instructions on the wiki, those should work.

The missing step is using rosdep to make sure you have all dependencies installed. It would seem like you don't have them, which is why compilation and later running failed.

@gavanderhoorn
Copy link
Member

@marooncn wrote:

mkdir build && cd build && cmake ../ && make && sudo make install

Note: only in very rare circumstances would a mkdir build && cd build && cmake ../ && make && sudo make install be used with ROS packages. For almost all typical usage, please follow regular a Catkin workflow as is documented on the wiki.

@marooncn
Copy link
Author

marooncn commented Sep 25, 2017

@gavanderhoorn. thanks a lot. I will try it tomorrow,and give feedback to you.

@marooncn
Copy link
Author

marooncn commented Sep 26, 2017

@gavanderhoorn I tried and it worked. But there are still some warnings when I launch irb120_3_58_gazebo.launch like the below:

[ WARN] [1506399359.754642888, 0.162000000]: Deprecated syntax, please prepend 'hardware_interface/' to 'PositionJointInterface' within the <hardwareInterface> tag in joint 'joint_1'

After I used 'hardware_interface/PositionJointInterface' to replace 'PositionJointInterface' in irb120_3_58_macro.xacro file, the warnings missed.

@gavanderhoorn
Copy link
Member

That warning is somewhat expected, as the _gazebo pkgs have been created for Gazebo 2, while you are using a newer version.

@gavanderhoorn
Copy link
Member

Related: #35.

@gavanderhoorn
Copy link
Member

Could I please ask you to close this issue if you feel it has been resolved?

@marooncn
Copy link
Author

Of course. Thank you again. @gavanderhoorn

@marooncn marooncn reopened this Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants