1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-24 23:21:29 +00:00

Now printing entire sim to simOut.csv on SD card

This commit is contained in:
bpmcgeeney
2021-11-04 21:24:55 -07:00
parent c06693e6aa
commit a305b9599e
4 changed files with 119 additions and 36 deletions

View File

@@ -235,9 +235,6 @@ void state2vec(Vehicle &State, Vehicle &PrevState, outVector &stateVector) {
stateVector.PIDy[t] = State.PIDy;
stateVector.thrust[t] = State.thrust;
// Set "prev" values for next timestep
PrevState = State;
}
double derivative(double current, double previous, double step) {