Robotics StackExchange | Archived questions

How do I do a rosservice call to /compute_ik provided by Move It!

How do I call a rosservice to compute the inverse kinematics? I have

rosservice call /compute_ik

What format of arguments do I pass? Should I point to arguments published by a topic?

Thank you!

Asked by puru on 2016-11-30 19:33:33 UTC

Comments

Answers

If you really want to use rosservice call .. (ie: a command line tool instead of writing a Service client in something like C++ or Python), press <tab> twice after /compute_ik. That should show you the format the service server expects.

Alternatively (or when auto-complete doesn't work), you could:

rosservice type /compute_ik | rossrv show

That should print the structure of the service message.

Asked by gvdhoorn on 2016-12-01 03:00:57 UTC

Comments