-
Notifications
You must be signed in to change notification settings - Fork 284
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
ServerConfig accepts an sdf::Root DOM object #1333
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
0896ac1
Added more tests
60be532
merged with ign-gazebo6
2770692
Change clone
f32555b
Address review comments
171d745
Merge branch 'ign-gazebo6' into server-config-root-dom
mjcarroll 7d33cf0
Fix linter, and added tests
7fedd8d
Merge branch 'server-config-root-dom' of github.com:ignitionrobotics/…
087225e
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig 713f3ba
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig bb3d2a6
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig 0402553
Merge branch 'ign-gazebo6' into server-config-root-dom
ahcorde 146ecf9
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig 71ee327
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig d0695a4
use sdf 12.4
977847e
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig 3af47f1
Merge branch 'ign-gazebo6' into server-config-root-dom
61f286a
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig 72958cb
Merge branch 'ign-gazebo6' into server-config-root-dom
nkoenig File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,6 +210,25 @@ namespace ignition | |
const EntityComponentManager &_ecm, | ||
bool _excludeWorld = true); | ||
|
||
/// \brief Convert an SDF world filename string, such as "shapes.sdf", to | ||
/// full system file path. | ||
/// The provided SDF filename may be a Fuel URI, relative path, name | ||
/// of an installed Gazebo world filename, or an absolute path. | ||
/// \param[in] _sdfFile An SDF world filename such as: | ||
/// 1. "shapes.sdf" - This is referencing an installed world file. | ||
/// 2. "../shapes.sdf" - This is referencing a relative world file. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's worth mentioning what it's relative to. It could be either the running directory or any path in |
||
/// 3. "/home/user/shapes.sdf" - This is reference an absolute world | ||
/// file. | ||
/// 4. "https://fuel.ignitionrobotics.org/1.0/openrobotics/worlds/shapes.sdf" | ||
/// This is referencing a Fuel URI. This will download the world file. | ||
/// \param[in] _fuelResourceCache Path to a Fuel resource cache, if | ||
/// known. | ||
/// \return Full path to the SDF world file. An empty string is returned | ||
/// if the file could not be found. | ||
std::string IGNITION_GAZEBO_VISIBLE resolveSdfWorldFile( | ||
const std::string &_sdfFilename, | ||
const std::string &_fuelResourceCache = ""); | ||
|
||
/// \brief Helper function to "enable" a component (i.e. create it if it | ||
/// doesn't exist) or "disable" a component (i.e. remove it if it exists). | ||
/// \param[in] _ecm Mutable reference to the ECM | ||
|
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could also be a relative path to a file in the current directory.