IMU Kalman Filter

Dependencies:   mbed

Fork of frdm_serial_K64F by Mechatronics

Revision:
9:3694ca4b48a7
Parent:
8:7a22b8294c5d
Child:
10:444b09c1798d
diff -r 7a22b8294c5d -r 3694ca4b48a7 main.cpp
--- a/main.cpp	Mon Dec 08 13:21:33 2014 +0000
+++ b/main.cpp	Mon Dec 08 13:28:17 2014 +0000
@@ -27,6 +27,7 @@
     
     //Filtr Kalmana
     kf_update = kf.update(d[2], d[5]);
+    //Wyslanie wartosci w protekole szeregowym do Labview (zmienic liczbe danych w labView jest sprintf wysyla wiecej wartosci).
     sprintf(buff, "%f\n%f\n%f\r", d[5], D[5], (float) kf_update);
 //    sprintf(buff, "%f\n%f\n%f\r", d[6], d[7], d[8]);
 }
@@ -55,6 +56,7 @@
     while (true) {        
         //pc.printf("%f\n%f\n%f\r", d[3], kf_update, kf_estimated_data);
         wait(1.0f);
+        // Komentarz wprowadzam w jezyku angielskim, poniewaz program jest dostepny publicznie:::
         // Hex char 0xD = \r is the termination char in the LabVIEW VISA Configure Serial Port vi.
         // It points to the end of string and separates single vector of acquired data. 
         // Hex char 0xA = \n points to the new line. LabVIEW Pick Line vi selects the line with a float represented by string.