No progress made really...

This commit is contained in:
Connor
2021-08-25 10:10:22 -06:00
parent 966f954528
commit e25d6ff9f4
5 changed files with 95 additions and 35 deletions

View File

@@ -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, μ)