-
Notifications
You must be signed in to change notification settings - Fork 276
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
Resource env var, with transport interface #172
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
d9bc0c7
to
840b173
Compare
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.
lgtm!
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo2 #172 +/- ##
===============================================
+ Coverage 53.78% 62.70% +8.92%
===============================================
Files 121 124 +3
Lines 5838 6200 +362
===============================================
+ Hits 3140 3888 +748
+ Misses 2698 2312 -386
Continue to review full report at Codecov.
|
@osrf-jenkins run tests please |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
I just ran this and am running into an issue with ign gazebo only showing a black screen with the message
being printed every few seconds. I replicated this issue on my laptop as well, are you running into this? @chapulina I believe the changes that broke things are in this diff 00d9235 - those are the changes I merged into the insert local models branch that made it give this error. |
Signed-off-by: Louise Poubel <[email protected]>
@JShep1 , a086574 has a temporary fix to that issue. For some reason the global node works when doing |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Nate Koenig <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
The 3 test failures are not there on |
…pectations Signed-off-by: Louise Poubel <[email protected]>
Not true, they're there on |
Requires More file path APIs gz-common#70Builds on top of Move test Relay to its own file #181This allows models and meshes to be found according to the the
IGN_GAZEBO_RESOURCE_PATH
environment variable.GAZEBO_MODEL_PATH
andGAZEBO_RESOURCE_PATH
.<include>
s and mesh<uri>
s.SDF_PATH
andIGN_FILE_PATH
variables with the same behaviour, so this implementation is backwards compatible and keeps those variables in sync withIGN_GAZEBO_RESOURCE_PATH
.gzserver
andgzclient
would be in different shells and have access to different environment variables. See this outstanding issue: Update model paths on both gzclient and gzserver at runtime gazebo-classic#2403Try it
Get paths:
ign service -s /gazebo/get_resource_paths --reqtype ignition.msgs.Empty --reptype ignition.msgs.StringMsg_V --timeout 5000 --req "unused: false"
Add path:
ign service -s /gazebo/add_resource_paths --reqtype ignition.msgs.StringMsg_V --reptype ignition.msgs.Empty --timeout 5000 --req "data: '/tmp/lala'"
TODOs
I'll leave this in draft state until:
This design document is updated to reflect this PR: https://github.com/ignitionrobotics/design/pull/1/filesI opened a new design PR instead: Guidelines for finding resources design#4