forked from betaflight/betaflight
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added flight IMU pitch, roll, yaw attitudes to blackbox log (betaflig…
…ht#14020) * added attitude fields desriptions * the attitude (imu pitch, roll, yaw) added to blackbox log * Global variable imuAttitudeQuaternion[3] is added to store current normalized imu attitude quaternion * IMU attitude quaternion added to log instead of Euler angles * blackbox logging of IMU attitude quaterions is replaced to GYRO group * Revert "blackbox logging of IMU attitude quaterions is replaced to GYRO group" This reverts commit a6020ed. * code refactoring: use quaternion as global variable instead of float[3] array * USE_ACC apply for attitude log * quaterion struct data type is changed to union quaternion_t * resolved issue of Test module * Code style improvement: removed empty codes row Co-authored-by: Mark Haslinghuis <[email protected]> * Added STATIC_ASSERT check of quaternion components sequence. Co-authored-by: Petr Ledvina <[email protected]> * Code style improvement Co-authored-by: Petr Ledvina <[email protected]> * Resolved code issue Co-authored-by: Mark Haslinghuis <[email protected]> * resolved wrong data type name * STATIC_ASSERT error resolved Co-authored-by: Mark Haslinghuis <[email protected]> * Improved assert condition Co-authored-by: Petr Ledvina <[email protected]> * added ATTITUDE condition for attitude blackbox log * added blackbox_disable_attitude cli command * Attitude position changed in blackbox disabling fields list * resolved issue wrong quaternion log record condition --------- Co-authored-by: Mark Haslinghuis <[email protected]> Co-authored-by: Petr Ledvina <[email protected]>
- Loading branch information
1 parent
57d32ea
commit 63514c2
Showing
6 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters