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

access model data by name #389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mateuszlitwin
Copy link

No description provided.

@mateuszlitwin mateuszlitwin force-pushed the mlitwin-getters-by-name branch 4 times, most recently from 99ba217 to db7a9a9 Compare April 17, 2019 01:08
@mateuszlitwin mateuszlitwin force-pushed the mlitwin-getters-by-name branch from db7a9a9 to 3208217 Compare April 17, 2019 01:11
@mateuszlitwin mateuszlitwin changed the title create getters by name (work in progress) create getters by name for model Apr 17, 2019
@mateuszlitwin mateuszlitwin changed the title create getters by name for model acces model data by name Apr 17, 2019
@mateuszlitwin mateuszlitwin changed the title acces model data by name access model data by name Apr 17, 2019
@MillionIntegrals
Copy link
Contributor

What's the status of this PR?

@mateuszlitwin
Copy link
Author

Waiting for feedback if this make sense.

@MillionIntegrals
Copy link
Contributor

I think it may be useful in some cases. Could use as well some tests/examples. In general my take though is to expose less in MjSim and more task-relevant functionality in a layer on top.

What do you think about detecting argument type (string, list[string], int, array[int], etc.) and returning suitable result depending on that?

@@ -2,7 +2,7 @@

###### const from defines ######
MINVAL = 1e-15 # minimum value in any denominator
PI = 3.141592653589793 #
PI = 3.141592653589793 #
Copy link
Contributor

Choose a reason for hiding this comment

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

This is accidental I guess?

@MillionIntegrals
Copy link
Contributor

I'm doing a review of open mujoco-py PRs. Do you still want to work on this one @mateuszlitwin ?

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.

2 participants