From 955cf8ac050f0877cd65901ec41a0eabe930d671 Mon Sep 17 00:00:00 2001 From: Connor Date: Sat, 25 Sep 2021 17:37:33 -0600 Subject: [PATCH] Test failed, hopefully fixing --- julia/test/inner_loop/phase.jl | 4 ++-- notes.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/julia/test/inner_loop/phase.jl b/julia/test/inner_loop/phase.jl index 103f378..8acf38e 100644 --- a/julia/test/inner_loop/phase.jl +++ b/julia/test/inner_loop/phase.jl @@ -17,8 +17,8 @@ final = prop(thrust, start, test_sc, revs*T, Earth)[2] new_T = 2π * √( xyz_to_oe(final, Earth.μ)[1]^3 / Earth.μ ) - # This should be close enough to converge - thrust_guess = spiral(0.88, n, start, test_sc, revs*T, Earth) + # This should be close enough to converge, but Earth orbits are picky + thrust_guess = spiral(0.89, n, start, test_sc, revs*T, 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) diff --git a/notes.md b/notes.md index fcb0d04..7740e7f 100644 --- a/notes.md +++ b/notes.md @@ -32,5 +32,5 @@ I need to determine the list of decision variables for each step: Todo: 1. ~~Add interpolate function~~ -2. Add NLP solver sun test +2. ~~Add NLP solver sun test~~ 3. Start on MBH