No progress made really...
This commit is contained in:
@@ -26,13 +26,13 @@ function prop_one(ΔV::Vector{T},
|
||||
|
||||
mag, α, β = ΔV
|
||||
|
||||
if mag > 1 || mag < 0
|
||||
throw(ErrorException("ΔV input is too high: $mag"))
|
||||
elseif α > π || α < -π
|
||||
throw(ErrorException("α angle is incorrect: $α"))
|
||||
elseif β > π/2 || β < -π/2
|
||||
throw(ErrorException("β angle is incorrect: $β"))
|
||||
end
|
||||
# if mag > 1 || mag < 0
|
||||
# throw(ErrorException("ΔV input is too high: $mag"))
|
||||
# elseif α > π || α < -π
|
||||
# throw(ErrorException("α angle is incorrect: $α"))
|
||||
# elseif β > π/2 || β < -π/2
|
||||
# throw(ErrorException("β angle is incorrect: $β"))
|
||||
# end
|
||||
|
||||
thrust_rθh = mag * [cos(β)*sin(α), cos(β)*cos(α), sin(β)]
|
||||
a,e,i,Ω,ω,ν = xyz_to_oe(state, μ)
|
||||
|
||||
Reference in New Issue
Block a user