paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4183] add GetPosX() and co


From: Pascal Brisset
Subject: [paparazzi-commits] [4183] add GetPosX() and co
Date: Fri, 18 Sep 2009 14:25:35 +0000

Revision: 4183
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4183
Author:   hecto
Date:     2009-09-18 14:25:34 +0000 (Fri, 18 Sep 2009)
Log Message:
-----------
 add GetPosX() and co

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/estimator.h

Modified: paparazzi3/trunk/sw/airborne/estimator.h
===================================================================
--- paparazzi3/trunk/sw/airborne/estimator.h    2009-09-18 14:25:03 UTC (rev 
4182)
+++ paparazzi3/trunk/sw/airborne/estimator.h    2009-09-18 14:25:34 UTC (rev 
4183)
@@ -78,6 +78,12 @@
 extern void alt_kalman( float );
 #endif
 
+
+#define GetPosX() (estimator_x)
+#define GetPosY() (estimator_y)
+#define GetPosAlt() (estimator_z)
+
+
 #ifdef ALT_KALMAN
 #define EstimatorSetPosXY(x, y) { estimator_x = x; estimator_y = y; }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]