Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Jackson committed Mar 20, 2024
1 parent 061934e commit a45d7f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/rbstate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ q_ = Rotations.params(q)
x = RBState(r, q_, v, ω)
@test RD.orientation(x) q
x = RBState(r, 2q_, v, ω)
@which RBState(r, 2q_, v, ω)
@test Rotations.params(RD.orientation(x)) 2q_ # shouldnt renormalize
Rotations.params(RD.orientation(x))
@test RBState(Float32.(r), Float32.(q_), Float32.(v), Float32.(ω)) isa RBState{Float32}
Expand Down
2 changes: 1 addition & 1 deletion test/rigidbody_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using StaticArrays
using BenchmarkTools
using ForwardDiff

using RobotDynamics: mass, inertia
using RobotDynamics: mass, inertia, orientation

# Temporary fix for Rotations
# function Rotations.∇rotate(q::QuatRotation, r::AbstractVector)
Expand Down

0 comments on commit a45d7f3

Please sign in to comment.