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

dptsrk's profile - activity

2020-04-16 12:39:40 -0500 received badge  Great Question (source)
2017-08-08 18:09:49 -0500 received badge  Good Question (source)
2017-06-02 20:18:25 -0500 received badge  Nice Question (source)
2017-01-17 01:11:47 -0500 received badge  Good Answer (source)
2017-01-17 01:11:47 -0500 received badge  Enlightened (source)
2014-01-28 17:28:42 -0500 marked best answer roslib does not exist!

I am new to ros and am still following the tutorials. I was following "Writing a Simple Publisher and Subscriber (Python)", but when I try to compile the code it shows "ImportError: No module named roslib".

I have ensured that PYTHONPATH contains $ROS_ROOT/core/roslib/src. But when I go to the file system, $ROS_ROOT/core is there, but roslib and src do not exist.

System Information: Using the fuerte Ubuntu VirtualBox Image.

N.B. ROS_ROOT is /opt/ros/fuerte/share/ros

2013-05-10 18:53:07 -0500 received badge  Famous Question (source)
2013-03-13 03:35:45 -0500 received badge  Famous Question (source)
2013-01-28 04:02:28 -0500 received badge  Notable Question (source)
2013-01-25 08:27:22 -0500 received badge  Famous Question (source)
2013-01-23 12:18:26 -0500 received badge  Nice Question (source)
2013-01-20 22:59:34 -0500 received badge  Student (source)
2013-01-20 20:12:25 -0500 received badge  Notable Question (source)
2013-01-20 16:29:18 -0500 received badge  Notable Question (source)
2013-01-20 05:24:47 -0500 received badge  Popular Question (source)
2013-01-20 02:28:18 -0500 received badge  Scholar (source)
2013-01-19 20:39:15 -0500 asked a question rosbuild vs catkin

I am new to ros and was wondering what exactly rosbuild and catkin are and what is the difference between the two.

2013-01-19 15:29:12 -0500 received badge  Popular Question (source)
2013-01-19 13:43:51 -0500 received badge  Nice Answer (source)
2013-01-19 10:34:49 -0500 received badge  Teacher (source)
2013-01-19 04:46:52 -0500 received badge  Supporter (source)
2013-01-19 04:45:50 -0500 answered a question How do you kill roscore/master?

Select the console that is running roscore and press Cntrl+c

2013-01-19 04:42:54 -0500 received badge  Editor (source)
2013-01-19 04:22:11 -0500 asked a question No module named srv

I was following the tutorial WrittingServiceClient(Python). I have typed the code as it is. The project "makes" properly also, but when I try to rosrun the server or the client the following error shows:

from beginner_tutorials import * ImportError: No module named srv

Where am I going wrong? How to create the module srv?

N.B.: I have followed the tutorial "Creating a ROS msg and srv" and the srv file exists inside the beginner_tutorials/srv

2013-01-14 13:36:39 -0500 received badge  Popular Question (source)