Skip to content

Commit

Permalink
tweak test tol
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jun 25, 2024
1 parent 051a975 commit 1f39ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_orientation_getters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ arm_r = sol(1, idxs=collect(model.upper_arm.r))

# The lower arm is finally having an extent along the $y$-axis. At the final time when the pendulum motion has been fully damped, we see that the second frame of this body ends up with an $y$-coordinate of `-0.6`:
t1 = get_trans(sol, model.lower_arm.frame_b, 12)
@test t1 [-0.009040487302666853, -0.59999996727278, 0.599931920189277]
@test t1 [-0.009040487302666853, -0.59999996727278, 0.599931920189277] rtol=1e-6


# If we rotate the vector of extent of the lower arm to the world frame, we indeed see that the only coordinate that is nonzero is the $y$ coordinate:
Expand Down

0 comments on commit 1f39ef6

Please sign in to comment.