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

How to call a rosservice within a python code?

asked 2016-10-17 16:59:51 -0500

Abdullah gravatar image

I am trying to write a code in python where I want to be able to run a node or a launch file, and do a rosservice call with an argument. I am trying to find some examples , please kindly guide me if you know of any good examples to start with or if you know how to do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-10-17 17:46:17 -0500

ahendrix gravatar image

One of the many ROS Tutorials describes the process for writing a service client in python.

If you're having trouble following that, please ask a new question, provide a code sample and do your best to describe what isn't working.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-10-17 16:59:51 -0500

Seen: 12,164 times

Last updated: Oct 17 '16