Abstraction for the glider class

Dependents:   DropTest

Revision:
15:5fea9af1cdb7
Parent:
14:a226bedae730
Child:
16:7e1a1cd9f9fb
--- a/Glider.cpp	Tue May 02 00:38:48 2017 +0000
+++ b/Glider.cpp	Thu May 11 14:49:26 2017 +0000
@@ -65,7 +65,7 @@
                         this->temp,  //C
                         this->speed,  //m per s
                         this->heading, //degrees from North
-                        this->state);;
+                        this->state);
      fclose(fp);
 }
 
@@ -101,13 +101,14 @@
             // voltage
     this->packetCount++;
     
-    this->xbee->printf("3387, GLIDER, %d, %d, %f, %f, %f, %f, %f, %d\r\n", 
+    this->xbee->printf("3387, GLIDER, %d, %d, %f, %f, %f, %f, %f, %f, %d\r\n", 
                         this->missionTime,  //duration in seconds 
                         this->packetCount,  
                         this->alt, //meters
                         this->pressure, //
                         this->temp,  //C
                         this->speed,  //m per s
+                        this->solarVoltage,
                         this->heading, //degrees from North
                         this->state);
 }