how to get real time position of a robot [closed]
What is the syntax in c++ to get real time position of a robot in gazebo model plugin? I only need real time x-position for my calculations.