1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

got rid of getThrust()

This commit is contained in:
bpmcgeeney 2021-11-22 16:30:16 -07:00
parent c4f90c82ce
commit 54a0beae49

View File

@ -206,13 +206,13 @@ void thrustInfo(Vehicle &State) {
analogWrite(pin_igniter, 256);
State.thrustFiring = 1;
getThrust(State);
// getThrust(State);
} else if (State.thrustFiring == 1) {
State.burnElapsed = (State.time - State.burnStart) / 1000.0;
State.mass = State.massInitial - (State.mdot * State.burnElapsed);
getThrust(State);
// getThrust(State);
// Constants based on vehicle
double r = 3.0;