File tree Expand file tree Collapse file tree
source/isaaclab_assets/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright (c) 2022-2026, The Isaac Lab Project Developers (https://github.com/isaac-sim/IsaacLab/blob/main/CONTRIBUTORS.md).
2+ # All rights reserved.
3+ #
4+ # SPDX-License-Identifier: BSD-3-Clause
5+
6+ """Tests for predefined Unitree robot configurations."""
7+
8+ from isaaclab_assets .robots .unitree import UNITREE_GO2_CFG
9+
10+
11+ def test_go2_calves_use_reduced_joint_limits ():
12+ """Verify the Go2 calf actuator reflects the knee reduction."""
13+ base_legs = UNITREE_GO2_CFG .actuators ["base_legs" ]
14+ calves = UNITREE_GO2_CFG .actuators ["calves" ]
15+
16+ assert base_legs .joint_names_expr == [".*_hip_joint" , ".*_thigh_joint" ]
17+ assert calves .joint_names_expr == [".*_calf_joint" ]
18+ assert calves .actuator_effort_limit == 45.05
19+ assert calves .saturation_effort == 45.05
20+ assert calves .actuator_velocity_limit == 15.65
You can’t perform that action at this time.
0 commit comments