Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
FraCpl committed Feb 20, 2024
1 parent 0884abe commit 6f0fe3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ rv_fromDcm(R) = dcm_toRv(R)
function rv_derivative(ϕ_AB, ωAB_B)
# Bortz equation
θ = norm(ϕ_AB)
ϕxω = ϕ × ωAB_B
return ωAB_B + 0.5*ϕxω + (1.0/θ^2 - 0.5/θ/tan(θ))* (ϕ × ϕxω)
ϕxω = ϕ_AB × ωAB_B
return ωAB_B + 0.5*ϕxω + (1.0/θ^2 - 0.5/θ/tan(θ))* (ϕ_AB × ϕxω)
end

0 comments on commit 6f0fe3d

Please sign in to comment.