Test failed, hopefully fixing
This commit is contained in:
@@ -17,8 +17,8 @@
|
|||||||
final = prop(thrust, start, test_sc, revs*T, Earth)[2]
|
final = prop(thrust, start, test_sc, revs*T, Earth)[2]
|
||||||
new_T = 2π * √( xyz_to_oe(final, Earth.μ)[1]^3 / Earth.μ )
|
new_T = 2π * √( xyz_to_oe(final, Earth.μ)[1]^3 / Earth.μ )
|
||||||
|
|
||||||
# This should be close enough to converge
|
# This should be close enough to converge, but Earth orbits are picky
|
||||||
thrust_guess = spiral(0.88, n, start, test_sc, revs*T, Earth)
|
thrust_guess = spiral(0.89, n, start, test_sc, revs*T, Earth)
|
||||||
result = solve_phase(start, final, test_sc, revs*T, thrust_guess, Earth)
|
result = solve_phase(start, final, test_sc, revs*T, thrust_guess, Earth)
|
||||||
calc_path, calc_final = prop(result.zero, start, test_sc, revs*T, Earth, interpolate=true)
|
calc_path, calc_final = prop(result.zero, start, test_sc, revs*T, Earth, interpolate=true)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user