-
Notifications
You must be signed in to change notification settings - Fork 451
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
Fix part controller demo #546
Fix part controller demo #546
Conversation
Signed-off-by: You Liang Tan <[email protected]>
Signed-off-by: You Liang Tan <[email protected]>
Signed-off-by: You Liang Tan <[email protected]>
Signed-off-by: You Liang Tan <[email protected]>
robosuite/controllers/composite/composite_controller_factory.py
Outdated
Show resolved
Hide resolved
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.
Looks good overall. I think theres some extraneous code in the commit that can be removed though.
…into fix-part-controller-demo
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.
do we need to change the key from body_parts
to body_parts_controller_config
I think if don't do this. This PR will have less changes
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.
I think updating is fine for consistency?
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.
I think updating is fine for consistency?
Resolves issue #534 |
Summary
This addresses both of these issues related to the controller.
Demo scripts bugs #534
Bug when update to 1.5.0 #532
This PR added the previous v1.4 controller configs, so users can still initiate only a single controller (as opposed to
composite), via the
load_part_controller_config()` method.Also there are some inconsistency of using
body_parts
in the internal implementation of handlingcontroller_configs
, I kept it consistent with thebody_parts_controller_configs
key. Still, I not a fan of dynamically changing the config dict in the internal method.fixes the
demo_control.py
andtune_joints.py
scripts.What to Run
Also all test cases passed.