Home | Tutorials | Wiki | Issues
Ask Your Question
0

ImportError: No module named controller_manager_msgs.srv on RRBot Ros_Control Example

asked 2013-08-01 17:23:43 -0500

Cdrwolfe gravatar image

Hi,

I have been trying to go through the rrbot_gazebo example, having made it as far as the section on control.

However I seem to be stuck at one point. Running the command 'roslaunch rrbot_control rrbot_control.launch '

It is here that the spawner from catkin_ws/src/ros_control/controller_manager/scripts/spawner, fails giving an error

 File "/home/user/catkin_ws/src/ros_control/controller_manager/scripts/spawner", line 43, in <module> from controller_manager_msgs.srv import *
ImportError: No module named controller_manager_msgs.srv

I'm not sure why as the folder controller_manager/srv exists and contains numerous .srv files.

I have run catkin_make beforehand and everything runs / builds smoothly.

I'm on Ubuntu Raring, have installed ROS Hydro Quantal however, and Gazebo Quantal. But then again i see the same problem on another computer which has raring for everything.

Any possible Ideas? I understand that the RRBot example is in flux due to Hydro, so is incomplete, but any help is appreciated.

Cdr

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-08-05 14:24:42 -0500

Arn-O gravatar image

Try:

git clone https://github.com/ros-controls/ros_controllers.git

From you catkin/src folder.

And catkin_make again after.

You will also probably need:

git clone https://github.com/ros-controls/control_toolbox.git
git clone https://github.com/ros-controls/realtime_tools.git
edit flag offensive delete link more

Comments

Thanks, I think I had them at the time but didn't catkinmake, or possibly forgot to add source ~/catkinws/devel/setup.bash to bash.src

Cdrwolfe gravatar imageCdrwolfe ( 2013-08-06 02:51:38 -0500 )edit
0

answered 2013-08-05 11:25:45 -0500

Cdrwolfe gravatar image

I managed to somehow solve this, thought whether it was because I simple redid catkin_make or rosmake I can't remember :S.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-08-01 17:23:43 -0500

Seen: 1,945 times

Last updated: Aug 05 '13