mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-06-16 07:06:51 +00:00
got rid of getThrust()
This commit is contained in:
parent
c4f90c82ce
commit
54a0beae49
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user