Skip to content

Commit

Permalink
Update test of link APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jun 4, 2024
1 parent c28ed2e commit b3577ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_api_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,8 @@ def test_link_jacobians(
), link_name

# The following is true only in inertial-fixed representation.
if data.velocity_representation is VelRepr.Inertial:
J_WL_model = js.model.generalized_free_floating_jacobian(model=model, data=data)
assert J_WL_model == pytest.approx(J_WL_links)
J_WL_model = js.model.generalized_free_floating_jacobian(model=model, data=data)
assert J_WL_model == pytest.approx(J_WL_links)

for link_name, link_idx in zip(
model.link_names(),
Expand Down

0 comments on commit b3577ba

Please sign in to comment.