What is an equivalent to Gazebo 9 function physics::Joint::Position() in Gazebo 7 for prismatic joint?
I was using the physics::Joint::Position() function in Gazebo 9 to get the deflection of the child link from its initial position. Now I want to implement the same in Gazebo 7, but it doesn't have this function and I can't find anything in the API documentation, that looks like it does the same thing.
What can I use to get the deflection of the prismatic joint in Gazebo 7?