[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] c5aeba: [ahrs] Upgraded GX3 ah
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] c5aeba: [ahrs] Upgraded GX3 ahrs subsystem |
Date: |
Thu, 22 Aug 2013 06:30:59 -0700 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: c5aeba2b06789e69c805782205803cf5b008b4da
https://github.com/paparazzi/paparazzi/commit/c5aeba2b06789e69c805782205803cf5b008b4da
Author: podhrmic <address@hidden>
Date: 2013-08-22 (Thu, 22 Aug 2013)
Changed paths:
A conf/firmwares/subsystems/fixedwing/ahrs_gx3.makefile
R conf/firmwares/subsystems/rotorcraft/ahrs_extern_quat.makefile
A conf/firmwares/subsystems/rotorcraft/ahrs_gx3.makefile
R conf/firmwares/subsystems/shared/ahrs_gx3.makefile
M conf/messages.xml
M sw/airborne/firmwares/fixedwing/ap_downlink.h
M sw/airborne/firmwares/fixedwing/main_ap.c
M sw/airborne/firmwares/rotorcraft/main.c
M sw/airborne/firmwares/rotorcraft/telemetry.h
R sw/airborne/subsystems/ahrs/ahrs_extern_quat.c
R sw/airborne/subsystems/ahrs/ahrs_extern_quat.h
M sw/airborne/subsystems/ahrs/ahrs_gx3.c
M sw/airborne/subsystems/ahrs/ahrs_gx3.h
M sw/airborne/subsystems/imu.c
M sw/airborne/subsystems/imu.h
Log Message:
-----------
[ahrs] Upgraded GX3 ahrs subsystem
1) Separate makefiles for fixedwing and rotorcraft (so it can be used in both)
2) Configurable GX3 initialization
3) Acceleration and rates properly rotated into the body frame
4) uses float imu struct to keep the precision
5) adds GX3_INFO message
6) fixed IMU_GYRO and IMU_ACCEL messages for float imu struct
7) removed ahrs_extern_quat interface as obsolete
Especially the fixed point imu struct is used for backwards compatibility,
maybe there is a more elegant way how to use the floating point interface.
after review:
- changed UART macros for uart functions
- GX3 variables moved into ahrs struct
- rates and accel used in imu frame and stored in imu.f
- removed unnecessary math macros
- renamed variables to lowercase and removed unused ones
- removed RMAT to Quat conversion,
- using strictly RMAT and Eulers (if needed)
- better written calculation of gx3 frequency. It is actually more precise like
this.
closes pull request #504
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] c5aeba: [ahrs] Upgraded GX3 ahrs subsystem,
GitHub <=