mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-23 14:41:25 +00:00
cleanup from debugging
This commit is contained in:
@@ -33,9 +33,6 @@ struct outVector {
|
||||
|
||||
std::vector<double> LQRx = std::vector<double>(length, 0.0);
|
||||
std::vector<double> LQRy = std::vector<double>(length, 0.0);
|
||||
|
||||
std::vector<double> thrust = std::vector<double>(length, 0.0);
|
||||
std::vector<double> d_yError = std::vector<double>(length, 0.0);
|
||||
};
|
||||
|
||||
#endif
|
@@ -376,8 +376,6 @@ void state2vec(Vehicle &State, Vehicle &PrevState, outVector &stateVector,
|
||||
|
||||
stateVector.LQRx[t] = State.LQRx;
|
||||
stateVector.LQRy[t] = State.LQRy;
|
||||
stateVector.thrust[t] = State.thrust;
|
||||
stateVector.d_yError[t] = State.d_yError;
|
||||
|
||||
// Set "prev" values for next timestep
|
||||
PrevState = State;
|
||||
@@ -434,9 +432,7 @@ void write2CSV(outVector &stateVector, Vehicle &State) {
|
||||
outfile << stateVector.thrustFiring[t] << ", ";
|
||||
|
||||
outfile << stateVector.LQRx[t] << ", ";
|
||||
outfile << stateVector.LQRy[t] << ", ";
|
||||
outfile << stateVector.thrust[t] << ", ";
|
||||
outfile << stateVector.d_yError[t] << std::endl;
|
||||
outfile << stateVector.LQRy[t] << std::endl;
|
||||
}
|
||||
|
||||
outfile.close();
|
||||
|
Reference in New Issue
Block a user