gazebo/GetLinkState Service

File: gazebo/GetLinkState.srv

string link_name          # name of link
string reference_frame    # reference frame of returned information, must be a valid link
                          # if empty, use inertial (gazebo world) frame
---
gazebo/LinkState link_state
bool success              # return true if get info is successful
string status_message     # comments if available

Expanded Definition

string link_name
string reference_frame

gazebo/LinkState link_state
    string link_name
    geometry_msgs/Pose pose
        geometry_msgs/Point position
            float64 x
            float64 y
            float64 z
        geometry_msgs/Quaternion orientation
            float64 x
            float64 y
            float64 z
            float64 w
    geometry_msgs/Twist twist
        geometry_msgs/Vector3 linear
            float64 x
            float64 y
            float64 z
        geometry_msgs/Vector3 angular
            float64 x
            float64 y
            float64 z
    string reference_frame
bool success
string status_message