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

sdf GeElement #15

Open
joaobrittoneto opened this issue Aug 1, 2018 · 1 comment
Open

sdf GeElement #15

joaobrittoneto opened this issue Aug 1, 2018 · 1 comment

Comments

@joaobrittoneto
Copy link

GetElement adds and returns a new empty element if it is not present, like here, what results in lots of annoying messages such

[Msg] RockGazebo: cannot handle sensor __default__ of type __default__
[Err] [Plugin.hh:165] Failed to load plugin __default__: __default__: cannot open shared object file: No such file or directory

IMO, its better to check HasElement prior to GetElement, to avoid the addition of empty elements.

@doudou
Copy link
Contributor

doudou commented Aug 8, 2018

Fair enough 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants