Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Fixed the test, and now the results are strictly equal to those of th… #128

Merged
merged 1 commit into from
Nov 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ func TestCorrectOEωShortWay(t *testing.T) {

// TestMultiCorrectOE runs the test case from the Ruggiero 2012 conference paper.
func TestMultiCorrectOE(t *testing.T) {
for _, meth := range []ControlLawType{Ruggiero, Naasz} {
oInit := NewOrbitFromOE(24396, 0.001, 7, 1, 1, 1, Earth)
oTarget := NewOrbitFromOE(42164, 0.7283, 0.001, 1, 1, 1, Earth)
for _, meth := range []ControlLawType{Ruggiero} {
oInit := NewOrbitFromOE(24396, 0.7283, 7, 1, 1, 1, Earth)
oTarget := NewOrbitFromOE(42164, 0.001, 0.001, 1, 1, 1, Earth)
aTgt, eTgt, iTgt, _, _, _, _, _, _ := oTarget.Elements()
eps := NewUnlimitedEPS()
EPThrusters := []EPThruster{new(PPS1350)}
Expand All @@ -528,7 +528,7 @@ func TestMultiCorrectOE(t *testing.T) {
var fuel float64
if meth == Ruggiero {
days = 113
fuel = 51
fuel = 49
} else {
days = 120
fuel = 53
Expand Down