mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-27 16:41:26 +00:00
Fixed Initial Height
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user