Skip to content
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

Configure environment variables with a helper method #17

Merged
merged 2 commits into from
Jun 9, 2020

Conversation

diegoferigo
Copy link
Member

@diegoferigo diegoferigo commented Apr 15, 2020

As an alternative of manually exporting the environment variables, this PR introduces a new method:

import gym_ignition_models
gym_ignition_models.setup_environment()

Exporting the IGN_FILE_PATH variable is still necessary waiting for gazebosim/sdformat#227.

@traversaro
Copy link
Member

Should README be updated?

@raffaello-camoriano
Copy link
Contributor

OK for me

Copy link
Contributor

@paolo-viceconte paolo-viceconte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@diegoferigo
Copy link
Member Author

Updated the README with the usage of the new function. Merging.

@diegoferigo diegoferigo merged commit 107871d into master Jun 9, 2020
@diegoferigo diegoferigo deleted the feature/configure_env branch June 9, 2020 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants