Ask Your Question
0

rosservice call error

asked 2012-08-16 01:29:47 -0500

Amit gravatar image

I followed this tutorial and configure the service and the c++ code (and make it). At the end I could not call the service by:

rosservice call /ExecuteCartesianIKTrajectory -- "{header: { frame_id: /base_link}, poses: [{position: [0.76, -0.19, 0.83], orientation:[0.02, -0.09, 0.0, 1.0]}, {position: [0.59, -0.36, 0.93], orientation: [0.65, -0.21, .38, .62]}]}"

I received:

ERROR: Service [/ExecuteCartesianIKTrajectory] is not available.

But I can do:

rossrv show ik_trajectory_tutorial/ExecuteCartesianIKTrajectory

What am I doing wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-08-16 01:55:02 -0500

michikarg gravatar image

I think rossrv show just indicates if a service of type "ik_trajectory_tutorial/ExecuteCartesianIKTrajectory" exists. The error tells you that your service node (the node that offers that service) is not running...

edit flag offensive delete link more

Comments

rosservice list gives the running services.

dornhege gravatar image dornhege  ( 2012-08-16 03:27:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-16 01:29:47 -0500

Seen: 2,823 times

Last updated: Aug 16 '12