paparazzi-commits
[Top][All Lists]
Advanced

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

[paparazzi-commits] [6079] Whitespace change in pprz_algebra_int


From: Allen Ibara
Subject: [paparazzi-commits] [6079] Whitespace change in pprz_algebra_int
Date: Wed, 06 Oct 2010 04:37:34 +0000

Revision: 6079
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6079
Author:   aibara
Date:     2010-10-06 04:37:34 +0000 (Wed, 06 Oct 2010)
Log Message:
-----------
Whitespace change in pprz_algebra_int

Modified Paths:
--------------
    paparazzi3/trunk/sw/airborne/math/pprz_algebra_int.h

Modified: paparazzi3/trunk/sw/airborne/math/pprz_algebra_int.h
===================================================================
--- paparazzi3/trunk/sw/airborne/math/pprz_algebra_int.h        2010-10-06 
04:36:02 UTC (rev 6078)
+++ paparazzi3/trunk/sw/airborne/math/pprz_algebra_int.h        2010-10-06 
04:37:34 UTC (rev 6079)
@@ -817,9 +817,9 @@
       int64_t cphi_stheta = INT_MULT_RSHIFT(cphi, stheta, INT32_TRIG_FRAC); \
       int64_t sphi_stheta = INT_MULT_RSHIFT(sphi, stheta, INT32_TRIG_FRAC); \
                                                                        \
-      (_ed).phi = (_r).p + (int32_t)((sphi_stheta * (int64_t)(_r).q) / ctheta) 
+ (int32_t)((cphi_stheta * (int64_t)(_r).r) / ctheta); \
-      (_ed).theta = INT_MULT_RSHIFT(cphi, (_r).q, INT32_TRIG_FRAC) - 
INT_MULT_RSHIFT(sphi, (_r).r, INT32_TRIG_FRAC); \
-      (_ed).psi = (int32_t)(((int64_t)sphi * (int64_t)(_r).q) / ctheta) + 
(int32_t)(((int64_t)cphi * (int64_t)(_r).r) / ctheta); \
+      (_ed).phi = (_r).p + (int32_t)((sphi_stheta * (int64_t)(_r).q) / ctheta) 
+ (int32_t)((cphi_stheta * (int64_t)(_r).r) / ctheta);  \
+      (_ed).theta = INT_MULT_RSHIFT(cphi, (_r).q, INT32_TRIG_FRAC) - 
INT_MULT_RSHIFT(sphi, (_r).r, INT32_TRIG_FRAC);  \
+      (_ed).psi = (int32_t)(((int64_t)sphi * (int64_t)(_r).q) / ctheta) + 
(int32_t)(((int64_t)cphi * (int64_t)(_r).r) / ctheta);  \
     }                                                                  \
     /* FIXME: What do you wanna do when you hit the singularity ? */   \
     /* probably not return an uninitialized variable, or ?        */   \




reply via email to

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