Skip to content

Commit

Permalink
proper gait
Browse files Browse the repository at this point in the history
  • Loading branch information
budzianowski committed Dec 15, 2024
1 parent 5addc0a commit 66610e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Binary file modified examples/gpr_walking.kinfer
Binary file not shown.
2 changes: 1 addition & 1 deletion sim/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ wandb
tensorboard==2.14.0
onnxscript
mujoco==2.3.6
git+https://github.com/kscalelabs/kinfer.git@b374295c3e4dab#egg=kinfer
kinfer==0.0.5
opencv-python
13 changes: 12 additions & 1 deletion sim/resources/gpr/joints.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,18 @@ def isaac_to_mujoco_signs(cls) -> Dict[str, int]:

@classmethod
def default_positions(cls) -> Dict[str, float]:
return {}
return {
Robot.legs.left.hip_pitch: 0.0,
Robot.legs.left.hip_yaw: 0.0,
Robot.legs.left.hip_roll: 0.0,
Robot.legs.left.knee_pitch: 0.0,
Robot.legs.left.ankle_pitch: 0.0,
Robot.legs.right.hip_pitch: 0.0,
Robot.legs.right.hip_yaw: 0.0,
Robot.legs.right.hip_roll: 0.0,
Robot.legs.right.knee_pitch: 0.0,
Robot.legs.right.ankle_pitch: 0.0,
}

# CONTRACT - this should be ordered according to how the policy is trained.
# E.g. the first entry should be the angle of the first joint in the policy.
Expand Down

0 comments on commit 66610e1

Please sign in to comment.