Gazebo | Ignition | Community
Ask Your Question

How to call a rosservice within a python code?

asked 2016-10-17 17:12:41 -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


wrong forum. This should be on the ros forum.

Peter Mitrano gravatar imagePeter Mitrano ( 2016-10-18 22:44:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-10-17 21:16:04 -0500

ElizabethA gravatar image

The "Implementing a Service" section here might help...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-10-17 17:12:41 -0500

Seen: 3,742 times

Last updated: Oct 17 '16