mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-23 14:41:25 +00:00
got rid of getThrust()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user