Skip to content

Commit

Permalink
More small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmith-bdai committed Aug 23, 2024
1 parent 606c7a1 commit 35b5c14
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,10 @@ def generate_articulation_cfg(
init_state=ArticulationCfg.InitialStateCfg(pos=(0.0, 0.0, 1.34)),
actuators={"body": ImplicitActuatorCfg(joint_names_expr=[".*"], stiffness=stiffness, damping=damping)},
)
elif articulation_type in ["panda", "panda_floating_base"]:
elif articulation_type == "panda":
articulation_cfg = FRANKA_PANDA_CFG
if articulation_type == "panda_floating_base":
articulation_cfg.spawn.articulation_props.fix_root_link = False
elif articulation_type in ["anymal", "anymal_fixed_base"]:
elif articulation_type == "anymal":
articulation_cfg = ANYMAL_C_CFG
if articulation_type == "anymal_fixed_base":
articulation_cfg.spawn.articulation_props.fix_root_link = True
elif articulation_type == "shadow_hand":
articulation_cfg = SHADOW_HAND_CFG
elif articulation_type == "single_joint":
Expand Down Expand Up @@ -125,7 +121,6 @@ class TestArticulation(unittest.TestCase):
Tests
"""

# @unittest.skip # TODO: unkip this test, only skipped for debugging
def test_initialization_floating_base_non_root(self):
"""Test initialization for a floating-base with articulation root on a rigid body.
under the provided prim path."""
Expand Down

0 comments on commit 35b5c14

Please sign in to comment.