diff --git a/test/rbstate.jl b/test/rbstate.jl index 56a6edb..789b4f2 100644 --- a/test/rbstate.jl +++ b/test/rbstate.jl @@ -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} diff --git a/test/rigidbody_test.jl b/test/rigidbody_test.jl index 034a79b..e67764b 100644 --- a/test/rigidbody_test.jl +++ b/test/rigidbody_test.jl @@ -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)