Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Programmatic World Control tutorial using Gazebo v9 #88

Open
osrf-migration opened this issue Jun 23, 2018 · 4 comments
Open
Labels
bug Something isn't working trivial

Comments

@osrf-migration
Copy link

Original report (archived issue) by Julian Uribe (Bitbucket: JulianUribe).


In http://gazebosim.org/tutorials?cat=write_plugin&tut=plugins_world_properties&ver=7%2B, the line

#!c++

node->Init(_parent->GetName());

in world_edit.cc should be

#!c++

node->Init(_parent->Name());

in Gazebo v9

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Thanks for ticketing the issue. Which tutorial are you talking about? Depending on the Gazebo version, the correct function could be Name or GetName

@osrf-migration
Copy link
Author

Original comment by Julian Uribe (Bitbucket: JulianUribe).


Programmatic World Control: http://gazebosim.org/tutorials?cat=write_plugin&tut=plugins_world_properties&ver=7%2B. I see now that the problem is that there is no tutorial for Gazebo v9.

@osrf-migration
Copy link
Author

Original comment by Julian Uribe (Bitbucket: JulianUribe).


  • changed priority from "minor" to "trivial"
  • Edited issue description* changed title from "gazebo::physics::World doesn't have a GetName() function" to "Error in Programmatic World Control tutorial using Gazebo v9"

@osrf-migration
Copy link
Author

Original comment by Chao (Bitbucket: chaochen00).


similar error in for the factory example (http://gazebosim.org/tutorials?tut=plugins_world&cat=write_plugin)

~/gazebo_plugin_tutorial/factory.cc:49:27: error: ‘class gazebo::physics::World’ has no member named ‘Name’
node->Init(_parent->Name());
^

@osrf-migration osrf-migration added trivial bug Something isn't working labels Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working trivial
Projects
None yet
Development

No branches or pull requests

1 participant