mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-08-17 02:24:50 +00:00
Print Timing Info
This commit is contained in:
@@ -75,7 +75,7 @@ void initFile() {
|
||||
// File Header
|
||||
dataFile.println(
|
||||
"t,x,y,z,vx,vy,vz,ax,ay,az,yaw,pitch,roll,yawdot,pitchdot,rolldot,"
|
||||
"Servo1,Servo2,thrustFiring,PIDx,PIDy,thrust");
|
||||
"Servo1,Servo2,thrustFiring,thrust,simResponse");
|
||||
}
|
||||
|
||||
void thrustInfo(Vehicle &State) {
|
||||
@@ -168,14 +168,12 @@ void write2CSV(Vehicle &State) {
|
||||
|
||||
dataFile.print(String(State.thrustFiring, 5));
|
||||
dataFile.print(",");
|
||||
|
||||
dataFile.print(String(State.PIDx, 5));
|
||||
dataFile.print(",");
|
||||
dataFile.print(String(State.PIDy, 5));
|
||||
dataFile.print(",");
|
||||
|
||||
dataFile.print(String(State.thrust, 5));
|
||||
dataFile.print(",");
|
||||
|
||||
dataFile.print(String(State.stepDuration, 5));
|
||||
dataFile.print("\n");
|
||||
|
||||
}
|
||||
|
||||
void printSimResults(Vehicle &State) {
|
||||
|
Reference in New Issue
Block a user