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

feat: faster & standardised object construction #81

Merged
merged 10 commits into from
Jan 2, 2025

Conversation

AugustDG
Copy link
Contributor

@AugustDG AugustDG commented Jan 2, 2025

The goal of this PR is to provide an easy to use interface across all the objects in Simulation to make documentation & understanding the system easier and quicker.

As a cool side effect, the project starts up ~40% faster!

Depends on #74

@AugustDG AugustDG added the enhancement New feature or request label Jan 2, 2025
@AugustDG AugustDG added this to the Complete First Walk milestone Jan 2, 2025
@AugustDG AugustDG self-assigned this Jan 2, 2025
Copy link
Contributor

@Horisofine Horisofine left a comment

Choose a reason for hiding this comment

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

Seems like most of the changes are the effect of implementing the universe which makes everything better. I didn't know our universe can be summarized in 59 file changes lol. LGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

I could kiss you rn. LGTM

Comment on lines +3 to +7
from . import BaseAgent
from ..controllers import VecJointsController
from ..sensors import VecContact, VecIMU
from ..types import Actions, EnvObservations
from ..universe import Universe
Copy link
Contributor

Choose a reason for hiding this comment

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

Never seen this type of import. wtf is this black magic?

Copy link
Contributor

Choose a reason for hiding this comment

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

I really like this!

@Horisofine Horisofine marked this pull request as ready for review January 2, 2025 16:53
@Horisofine Horisofine merged commit a4527aa into master Jan 2, 2025
2 checks passed
@AugustDG AugustDG deleted the feat/better-construction branch January 2, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants