From c3f3c34c5bda6f7c4d12be9be735920a55a13b00 Mon Sep 17 00:00:00 2001 From: Anson Date: Fri, 15 Oct 2021 14:37:03 -0700 Subject: [PATCH] remove columns in csv header !9 --- include/sim.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/sim.h b/include/sim.h index b0388b6..369a030 100644 --- a/include/sim.h +++ b/include/sim.h @@ -354,9 +354,8 @@ void write2CSV(outVector &stateVector, Vehicle &State) { // Output file header. These are the variables that we output - useful for // debugging - outfile << "t, x, y, z, vx, vy, vz, ax, ay, az, yaw, pitch, roll, yawdot, " - "pitchdot, rolldot, Servo1, Servo2, thrustFiring, PIDx, PIDy, " - "thrust" + outfile << "t,x,y,z,vx,vy,vz,ax,ay,az,yaw,pitch,roll,yawdot,pitchdot,rolldot," + "Servo1,Servo2,thrustFiring,PIDx,PIDy,thrust" << std::endl; // writing to output file