-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix plugin conversion error message (#2094)
This fixes the error [Err] [Conversions.cc:1791] Tried to convert SDF [world] into [plugin] The error comes from AddSystem passing an sdf::ElementPtr that corresponds to a <world> tag instead of a <plugin> tag when it's optional _sdf element is empty, which occurs mostly in tests when AddSystem is used to add Relay plugin which doesn't have an associated SDFormat file. --------- Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters