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

rosservice call error

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

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 -0600

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 -0600 )edit

Question Tools

Stats

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

Seen: 4,461 times

Last updated: Aug 16 '12