You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
GetElement
adds and returns a new empty element if it is not present, like here, what results in lots of annoying messages suchIMO, its better to check
HasElement
prior toGetElement
, to avoid the addition of empty elements.The text was updated successfully, but these errors were encountered: