Skip to content

Commit

Permalink
standing with 0 hip pitch or 0 hip yaw
Browse files Browse the repository at this point in the history
  • Loading branch information
wuallenwu committed Jul 22, 2024
1 parent 840ca4e commit 245f337
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sim/humanoid_gym/sims2sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ class sim_config:
mujoco_model_path = f'sim/stompy_legs/robot_fixed.xml'
sim_duration = 60.0
dt = 0.001
decimation = 10
decimation = 1
# pfb30 - todo this should be update more often
class robot_config:
kp_factor = 10
kp_factor = 1
kd_factor = 1
tau_factor = 0.85
tau_factor = 1
tau_limit = np.array(list(Stompy.stiffness().values()) + list(Stompy.stiffness().values())) * tau_factor
kps = tau_limit * kp_factor
kds = np.array(list(Stompy.damping().values()) + list(Stompy.damping().values())) * kd_factor
Expand Down
2 changes: 1 addition & 1 deletion sim/stompy_legs/robot_fixed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<mujoco model="lower_limbs">
<compiler angle="radian" meshdir="meshes" autolimits="true" eulerseq="zyx"/>
<default>
<joint limited="true" damping="0.01" armature="0.01" frictionloss="0.01"/>
<joint limited="true" damping="10" armature="0.01" frictionloss="0.01"/>
<motor ctrllimited="true"/>
<geom condim="4" contype="1" conaffinity="15" friction="0.9 0.2 0.2" solref="0.001 2"/>
<equality solref="0.001 2"/>
Expand Down

0 comments on commit 245f337

Please sign in to comment.