Robotics StackExchange | Archived questions

How to call a rosservice within a python code?

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?

Asked by Abdullah on 2016-10-17 17:12:41 UTC

Comments

wrong forum. This should be on the ros forum.

Asked by Peter Mitrano on 2016-10-18 22:44:19 UTC

Answers

The "Implementing a Service" section here might help... https://www.safaribooksonline.com/library/view/programming-robots-with/9781449325480/ch04.html

Asked by ElizabethA on 2016-10-17 21:16:04 UTC

Comments