[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [6099] Fix sign/channel on accels for imu b2 v1.2 (g
From: |
Allen Ibara |
Subject: |
[paparazzi-commits] [6099] Fix sign/channel on accels for imu b2 v1.2 (gyros are the same as 1. 1), mags still need to be tested |
Date: |
Fri, 08 Oct 2010 03:38:24 +0000 |
Revision: 6099
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=6099
Author: aibara
Date: 2010-10-08 03:38:23 +0000 (Fri, 08 Oct 2010)
Log Message:
-----------
Fix sign/channel on accels for imu b2 v1.2 (gyros are the same as 1.1), mags
still need to be tested
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/imu/imu_b2.h
Modified: paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/imu/imu_b2.h
===================================================================
--- paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/imu/imu_b2.h
2010-10-07 18:26:02 UTC (rev 6098)
+++ paparazzi3/trunk/sw/airborne/firmwares/rotorcraft/imu/imu_b2.h
2010-10-08 03:38:23 UTC (rev 6099)
@@ -107,7 +107,7 @@
#endif /* IMU_B2_VERSION_1_1 */
#ifdef IMU_B2_VERSION_1_2
-/* FIXME based on 1.1 for now */
+/* FIXME mag still based on 1.1 */
/* Default IMU b2 sensors connection */
#if !defined IMU_GYRO_P_CHAN & !defined IMU_GYRO_Q_CHAN & !defined
IMU_GYRO_R_CHAN
#define IMU_GYRO_P_CHAN 1
@@ -115,9 +115,9 @@
#define IMU_GYRO_R_CHAN 2
#endif
#if !defined IMU_ACCEL_X_CHAN & !defined IMU_ACCEL_Y_CHAN & !defined
IMU_ACCEL_Z_CHAN
-#define IMU_ACCEL_X_CHAN 5
-#define IMU_ACCEL_Y_CHAN 3
-#define IMU_ACCEL_Z_CHAN 4
+#define IMU_ACCEL_X_CHAN 4
+#define IMU_ACCEL_Y_CHAN 5
+#define IMU_ACCEL_Z_CHAN 3
#endif
#if !defined IMU_MAG_X_CHAN & !defined IMU_MAG_Y_CHAN & !defined IMU_MAG_Z_CHAN
#define IMU_MAG_X_CHAN 0
@@ -131,9 +131,9 @@
#define IMU_GYRO_R_SIGN -1
#endif
#if !defined IMU_ACCEL_X_SIGN & !defined IMU_ACCEL_Y_SIGN & !defined
IMU_ACCEL_Z_SIGN
-#define IMU_ACCEL_X_SIGN -1
+#define IMU_ACCEL_X_SIGN 1
#define IMU_ACCEL_Y_SIGN -1
-#define IMU_ACCEL_Z_SIGN -1
+#define IMU_ACCEL_Z_SIGN 1
#endif
#if !defined IMU_MAG_X_SIGN & !defined IMU_MAG_Y_SIGN & !defined IMU_MAG_Z_SIGN
#define IMU_MAG_X_SIGN 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [6099] Fix sign/channel on accels for imu b2 v1.2 (gyros are the same as 1. 1), mags still need to be tested,
Allen Ibara <=