First time here? Check out the FAQ!
answered 2020-07-07 04:17:51 -0600
It is GetName() in gazebo 7. You need to follow the documentation for the right gazebo version. http://osrf-distributions.s3.amazonaws.com/gazebo/api/7.1.0/classgazebo_1_1physics_1_1World.html
GetName()