First time here? Check out the FAQ!
answered 2018-12-06 09:27:52 -0500
You're looking at the documentation for Gazebo 2, but I suspect you're not using that version. Take a look at the migration guide, the new function from Gazebo 8 is Joint::Position.
Joint::Position