get_link_state in Gazebo doesn't work [closed]

asked 2012-10-23 06:02:31 -0500

cosmic_cow gravatar image

Ubuntu 12.04 Fuerte

I'm trying to use 'rosservice call get_link_state ' or 'rosservice call gazebo/get_link_properties' to get information on Robonaut's positions in the world in Gazebo. The following show the results using either a valid or invalid link names with gazebo/get_link_properties:

colin@ubuntu:~$ rosservice call gazebo/get_link_properties /r2/right_index_distal
ERROR: service [/gazebo/get_link_properties] responded with an error:

colin@ubuntu:~$ rosservice call gazebo/get_link_properties /r2/rifgjdjg
ERROR: transport error completing service call: unable to receive data from sender, check sender's logs for details

get_link_state is a link in relation to something else (I just try 'world') and it gets the same "responded with an error:" message but, like the previous service call, without any useful information. Is there something I'm doing incorrectly?

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: by tfoote
close date 2015-06-29 02:12:12.571061


Hi. I get the same message on Ubuntu 12.04, ROS Groovy, Gazebo 1.2.5, when calling /gazebo/get_link_state. On top of that, after the failed call, Gazebo crashes, ROS clock stops and does not continue until I restart roscore. I know there is topic /gazebo/link_state and it works.

r0nald gravatar image r0nald  ( 2013-01-16 22:23:42 -0500 )edit