-
Notifications
You must be signed in to change notification settings - Fork 21
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
A more minimal Ignition to Gazebo server rename effort #263
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -538,12 +538,14 @@ TEST_F(FuelClientTest, DownloadModel) | |
EXPECT_EQ(ResultType::FETCH_ALREADY_EXISTS, res5.Type()); | ||
} | ||
|
||
// Download model with a dependency specified within its `model.config` | ||
// Download model with a dependency specified within its `model.config`. | ||
// The dependency points to fuel.gazebosim.org. | ||
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. Is it valuable to also test the other way around, i.e. a 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. The reverse also works. I've just added the ability to use both |
||
{ | ||
common::URI url{ | ||
"https://fuel.ignitionrobotics.org/1.0/JShep1/models/hatchback_red_2"}; | ||
"https://fuel.ignitionrobotics.org/1.0/openrobotics/models/hatchback red" | ||
}; | ||
common::URI depUrl{ | ||
"https://fuel.ignitionrobotics.org/1.0/JShep1/models/hatchback_2"}; | ||
"https://fuel.gazebosim.org/1.0/openrobotics/models/hatchback"}; | ||
|
||
// Check it is not cached | ||
std::string cachedPath; | ||
|
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.
Just for completeness, is there an advantage to hardcoding it here as opposed to there
gz-fuel-tools/conf/config.yaml
Lines 3 to 6 in b3c253c
In theory, I think that hardcoding it here makes it difficult, if not impossible for users of other servers to disable
gazebosim.org
. Not sure if any users at all care about that, but it's a use case supported to an extent.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.
There are a couple problems associated with the yaml config file.
ign gazebo
.ign fuel
if the--config
option is specified.fuel.ignitionrobotics.org
orfuel.gazebosim.org
are missing in the ClientConfig, then worlds/models that use both URIs will not load.I don't see an easy way around this.