From 4a70843273a91a1abb7ad6dcec4e1f4683113586 Mon Sep 17 00:00:00 2001 From: Matthew Robinaugh Date: Wed, 20 Oct 2021 14:13:40 -0700 Subject: [PATCH] Fixed Initial Height --- include/sim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sim.h b/include/sim.h index 9d11248..97a1238 100644 --- a/include/sim.h +++ b/include/sim.h @@ -95,7 +95,7 @@ void burnStartTimeCalc(Vehicle &State) { h = integral(velocity, h, State.stepSize); } - State.z = h + (pow(velocity, 2) / (2 * -g)); // starting height + State.z = 18.88;//h + (pow(velocity, 2) / (2 * -g)); // starting height State.burnVelocity = velocity; // terminal velocity std::cout << State.z << std::endl;