Minor fixes and geom module documentation

This commit is contained in:
Balakumar Sundaralingam
2024-08-05 21:52:45 -07:00
parent 3690d28c54
commit a027cbcf38
37 changed files with 2754 additions and 656 deletions

View File

@@ -135,8 +135,9 @@ def test_cu_robot_batch_world_collision():
assert d_world.shape[0] == b
assert torch.sum(d_world) == 0.0
def test_cu_robot_get_link_transform():
model = load_robot_world()
world_T_panda_hand = model.kinematics.get_link_transform("panda_hand")
# It seems the panda hand is initialized at the origin.
assert torch.sum(world_T_panda_hand.position) == 0.0
assert torch.sum(world_T_panda_hand.position) == 0.0