Ask Your Question
1

No module named beginner_tutorials.srv

asked 2012-12-08 23:23:41 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I m really new to ROS just started couple of days ago

i m following this Tuturial ( ROS Tutorials WritingServiceClient(python) )

and i m getting this Error when i run the file with this command

"rosrun beginner_tutorials add_two_ints_server.py "

**Traceback (most recent call last): File "/home/neo/ros_workspace/sandbox/beginner_tutorials/scripts/add_two_ints_server.py", line 4, in <module> from beginner_tutorials.srv import * ImportError: No module named beginner_tutorials.srv


I have repeated the whole tutorial again and again Pls help

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-12-09 11:18:30 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Most probably you missed to adjust your CMakeLists.txt file you have to uncomment rosbuild_genmsg() and rosbuild_gensrv()

edit flag offensive delete link more
1

answered 2013-01-11 05:51:14 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I was having this same problem. Your solution got me running. Thank you.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-08 23:23:41 -0500

Seen: 3,477 times

Last updated: Jan 11 '13