Change peak thrust of G77 simulation motor so Falcon9H test rocket doesn't tumble until well after stage separations

Put order of expected events to match the new test rocket
This commit is contained in:
JoePfeiffer 2022-11-09 16:07:12 -07:00
parent b1777bb36b
commit d0a15f2a0f
2 changed files with 5 additions and 5 deletions

View File

@ -217,7 +217,7 @@ public class TestRockets {
.setDiameter(0.029)
.setLength(0.124)
.setTimePoints(new double[] { 0, 1, 2 })
.setThrustPoints(new double[] { 0, 1, 0 })
.setThrustPoints(new double[] { 0, 20, 0 })
.setCGPoints(new Coordinate[] {
new Coordinate(.062, 0, 0, 0.123),new Coordinate(.062, 0, 0, .0935),new Coordinate(.062, 0, 0, 0.064)})
.setDigest("digest G77 test")

View File

@ -76,10 +76,10 @@ public class FlightEventsTest extends BaseTestCase {
switch (b) {
case 0:
expectedEventTypes = new FlightEvent.Type[]{FlightEvent.Type.LAUNCH, FlightEvent.Type.IGNITION, FlightEvent.Type.IGNITION,
FlightEvent.Type.LIFTOFF, FlightEvent.Type.LAUNCHROD, FlightEvent.Type.APOGEE, FlightEvent.Type.BURNOUT,
FlightEvent.Type.BURNOUT, FlightEvent.Type.EJECTION_CHARGE, FlightEvent.Type.EJECTION_CHARGE,
FlightEvent.Type.STAGE_SEPARATION, FlightEvent.Type.STAGE_SEPARATION, FlightEvent.Type.TUMBLE, FlightEvent.Type.GROUND_HIT,
FlightEvent.Type.SIMULATION_END};
FlightEvent.Type.LIFTOFF, FlightEvent.Type.LAUNCHROD, FlightEvent.Type.APOGEE,
FlightEvent.Type.BURNOUT, FlightEvent.Type.EJECTION_CHARGE, FlightEvent.Type.STAGE_SEPARATION,
FlightEvent.Type.BURNOUT, FlightEvent.Type.EJECTION_CHARGE, FlightEvent.Type.STAGE_SEPARATION,
FlightEvent.Type.TUMBLE, FlightEvent.Type.GROUND_HIT, FlightEvent.Type.SIMULATION_END};
break;
case 1:
case 2: