-
Notifications
You must be signed in to change notification settings - Fork 125
Loco actionspace fix #230
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
Loco actionspace fix #230
Conversation
… extra control on top of theaction space. Normalization is handled while appending OSL values. This ensure that robot class can appropriately handle the action space normalization while rolling the sim/hardware
Fixed the flat terrain in 59a26ba |
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
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
I have finished my changes and it is ready to be merged. |
@@ -506,7 +517,7 @@ def get_internal_qpos(self): | |||
to_remove = [self.sim.model.joint('osl_knee_angle_r').qposadr[0].copy(), self.sim.model.joint('osl_ankle_angle_r').qposadr[0].copy()] | |||
|
|||
temp_qpos[to_remove] = 100 | |||
temp_qpos[temp_qpos != 100] | |||
temp_qpos = temp_qpos[temp_qpos != 100] |
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.
why is this condition needed?
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.
All the OSL joint observations need to be removed. This is just to filter and shorten the final array
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.
would it be possible to add the number of physiological joints as variable instead of hardcode the number?
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.
Yes. I can do that. Give me a moment
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.
Ok done. I have also done the same for the muscles as well.
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
Loco actionspace fix
Landed the fix. There are two high level changes
TODOs:
myoChallengeOslRunFixed-v0
is adjusted properly to ensure that terrain randomization doesn't change during reset.@raku-slyu - ensure that the docs are updating properly as per the changes here.