-
Notifications
You must be signed in to change notification settings - Fork 488
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
One less bridge #418
One less bridge #418
Conversation
Really like the change! Can we use |
Codecov Report
@@ Coverage Diff @@
## master #418 +/- ##
==========================================
- Coverage 76.33% 76.32% -0.02%
==========================================
Files 108 108
Lines 7670 7665 -5
==========================================
- Hits 5855 5850 -5
Misses 1815 1815
Continue to review full report at Codecov.
|
* One less bridge
* One less bridge
Motivation and Context
Use inheritance instead of a member variable for the instance of habitat-sim. This alleviates the needs for
_sim._sim
to get to methods where a bridge hasn't been built.The one downside is that inheritance won't allow both habitat_sim.Simulator and HabitatSimulator to have their existing
self.config
. The one in for HabitatSimulator was renamedhab_config
.How Has This Been Tested
The existing tests
Types of changes
Checklist