get_link_state in Gazebo doesn't work [closed]
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?
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.