[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 574589: [abi] change ABI_BROAD
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 574589: [abi] change ABI_BROADCAST from 0 to 255 and use i... |
Date: |
Fri, 24 Jul 2015 04:52:55 -0700 |
Branch: refs/heads/abi_ids
Home: https://github.com/paparazzi/paparazzi
Commit: 574589bc8ccb371f56b0fc4dd8f02ec0d5274686
https://github.com/paparazzi/paparazzi/commit/574589bc8ccb371f56b0fc4dd8f02ec0d5274686
Author: Felix Ruess <address@hidden>
Date: 2015-07-24 (Fri, 24 Jul 2015)
Changed paths:
M sw/airborne/subsystems/abi_common.h
M sw/airborne/test/subsystems/test_imu.c
Log Message:
-----------
[abi] change ABI_BROADCAST from 0 to 255 and use id 0 to disable
This makes it easier to explictitly not use an ABI binding by only defining the
ID to ABI_DISABLE (zero) without further change of the code.
The idea is that you can use it to e.g. disable a mag callback for one AHRS
without globally setting USE_MAGNETOMETER to FALSE.
Commit: ba4b61f62c5f6a0eaee4517d6bbbb11fad8057d4
https://github.com/paparazzi/paparazzi/commit/ba4b61f62c5f6a0eaee4517d6bbbb11fad8057d4
Author: Felix Ruess <address@hidden>
Date: 2015-07-24 (Fri, 24 Jul 2015)
Changed paths:
M sw/airborne/subsystems/ahrs/ahrs_float_cmpl_wrapper.c
M sw/airborne/subsystems/ahrs/ahrs_float_dcm_wrapper.c
M sw/airborne/subsystems/ahrs/ahrs_float_invariant_wrapper.c
M sw/airborne/subsystems/ahrs/ahrs_float_mlkf_wrapper.c
M sw/airborne/subsystems/ahrs/ahrs_int_cmpl_euler_wrapper.c
M sw/airborne/subsystems/ahrs/ahrs_int_cmpl_quat_wrapper.c
Log Message:
-----------
[ahrs] separate ABI IDs for binding mag message
This makes it easy to use a different mag than the one on the IMU, or to
disable the mag callback alltogether.
However the mag still has to have the same alignment as the IMU (still same
BODY_TO_IMU used).
Towards solving #197
Compare:
https://github.com/paparazzi/paparazzi/compare/574589bc8ccb^...ba4b61f62c5f
- [paparazzi-commits] [paparazzi/paparazzi] 574589: [abi] change ABI_BROADCAST from 0 to 255 and use i...,
GitHub <=