Skip to content

Commit 49e3602

Browse files
committed
Increase base height of 4bar linkage and tolerance
1 parent 92fcd7e commit 49e3602

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_simulations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ def test_simulation_with_kinematic_constraints_4_bar_linkage(
579579
data_t0 = js.data.JaxSimModelData.build(
580580
model=model,
581581
velocity_representation=VelRepr.Inertial,
582+
base_position=jnp.array([0.0, 0.0, 0.10]),
582583
)
583584

584585
# ====
@@ -607,7 +608,7 @@ def test_simulation_with_kinematic_constraints_4_bar_linkage(
607608
pos1 = H_frame1[:3, 3]
608609
pos2 = H_frame2[:3, 3]
609610
assert pos1 == pytest.approx(
610-
pos2, abs=1e-6
611+
pos2, abs=1e-5
611612
), f"Frame position mismatch. pos1={pos1}, pos2={pos2}, diff={pos1 - pos2}"
612613

613614
# Orientation check

0 commit comments

Comments
 (0)