Add Stack Pyramid task and motionplanning solution#683
Open
chenyenru wants to merge 20 commits intohaosulab:mainfrom
Open
Add Stack Pyramid task and motionplanning solution#683chenyenru wants to merge 20 commits intohaosulab:mainfrom
chenyenru wants to merge 20 commits intohaosulab:mainfrom
Conversation
StoneT2000
requested changes
Nov 7, 2024
| class Panda(BaseAgent): | ||
| uid = "panda" | ||
| urdf_path = f"{PACKAGE_ASSET_DIR}/robots/panda/panda_v2.urdf" | ||
| urdf_path = f"{PACKAGE_ASSET_DIR}/robots/panda/panda_v3.urdf" |
| def __init__( | ||
| self, *args, robot_uids="panda_wristcam", robot_init_qpos_noise=0.02, **kwargs | ||
| ): | ||
| self.num_cubes = 6 # 3 + 2 + 1 |
| z_offset = torch.abs(offset[..., 2] - self.cube_half_size[2]) | ||
| xy_flag = xy_offset <= 0.05 | ||
| z_flag = z_offset <= 0.05 | ||
| logger.debug(f"NEXT TO Distance XY: {xy_offset}") |
Member
There was a problem hiding this comment.
remove the print statements and logging
| @@ -0,0 +1,69 @@ | |||
|
|
|||
Member
There was a problem hiding this comment.
we don't usually have per env specific tests. this should be removed
Contributor
Author
There was a problem hiding this comment.
Gotcha. As a side question, I'm curious if there's a reason environments generally don't have per-environment tests?
My rationale for unit testing environment implementation was that it could help ensure the environment works correctly with current and future code changes. However, among different RL environments / framework, I've only come across one instance of environment-specific testing in Gymnasium, specifically in this file:
| **Success Conditions:** | ||
| - the blue cube is static | ||
| - the blue cube is on top of both the red and green cube (to within half of the cube size) | ||
| - the blue cube is static |
Contributor
Author
|
Thanks for the comments! They should be addressed now, please take a look |
…jectory Generation
…es, and reversed change for updating panda version
…jectory Generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.