How to get the position of certain object in gazebo?
I am interested in using gazebo to simulate the movements of some objects, now I want to get their positions in some time stamps, namely x, y, z coordinates. How can I implement this, maybe with C language ? I have searched this for a long time, but I find no way to implement this, could someone gives me a hand ? Thank you very much !
See https://answers.gazebosim.org/questio... for getting the position through ROS