mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 15:17:23 +00:00
Fixed Initial Height
This commit is contained in:
parent
c62a8b0c44
commit
4a70843273
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user