Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 49

Unable to Run Tutorial Client (Python)

$
0
0
Hi, I'm very new to ROS and I'm working through the tutorial for "Writing a Simple Service and Client (Python)." I've been through all the previous tutorials, but now I've encountered an error: > Traceback (most recent call last): > File> "/home/ntbeyers/indigo_workspace/sandbox/beginner_tutorials/scripts/add_two_ints_client.py",> line 5, in > from beginner_tutorials.srv import * ImportError: No module named beginner_tutorials.srv This occurs when I try the command "rosrun beginner_tutorials add_two_ints_client.py" but for some reason it doesn't the server runs without this error. Both python scripts include the same line "from beginner_tutorials.srv import *" I've made sure the necessary changes have been made to the CMakeLists.txt file. Any ideas why the server would be able to import the "beginner_tutorials.srv" file but the client can't? I'm using rosbuild if that makes a difference. Thanks, Nate

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>