Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

How to call gazebo_msg/GetLinkState service for a sensor mounted on a robot?

$
0
0
Hi all, I have the following problem: To make my own robot in gazebo (a diff-drive with a laser and a kinect) I wrote the following `urdf`: https://github.com/schizzz8/lucrezio_simulation_environments/blob/master/urdf/lucrezio_with_logical.urdf.xacro Now, I'd like to call `gazebo_msgs/GetLinkState` service to retrieve the pose of the sensor with respect to the gazebo world. If I do that, that's the output I get: ![image description](/upfiles/15282090488732438.png) In fact, in the gazebo window, the robot seems to be made of just few links: ![image description](/upfiles/1528209104440998.png) How can I have gazebo to see also `camera_link` in order to retrieve its pose? Thanks.

Viewing all articles
Browse latest Browse all 7017

Trending Articles