paparazzi-commits
[Top][All Lists]
Advanced

[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: Sat, 25 Jul 2015 06:16:17 -0700

  Branch: refs/heads/master
  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: 205c43faa87f9edbf7a25b812f0f820301c06674
      
https://github.com/paparazzi/paparazzi/commit/205c43faa87f9edbf7a25b812f0f820301c06674
  Author: Felix Ruess <address@hidden>
  Date:   2015-07-25 (Sat, 25 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


  Commit: 0e947625ca0e500968908f3ffadf14b3f60a1924
      
https://github.com/paparazzi/paparazzi/commit/0e947625ca0e500968908f3ffadf14b3f60a1924
  Author: Felix Ruess <address@hidden>
  Date:   2015-07-25 (Sat, 25 Jul 2015)

  Changed paths:
    M sw/airborne/subsystems/abi_common.h
    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
    M sw/airborne/test/subsystems/test_imu.c

  Log Message:
  -----------
  Merge pull request #1260 from paparazzi/abi_ids

[ABI] special ID to DISABLE callback

- change ABI_BROADCAST from 0 to 255
- add ABI_DISABLE with id 0
- separate ABI IDs for binding mag message

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.   
Also make it easy to use a different mag than the one on the IMU.
However the mag still has to have the same alignment as the IMU (still same 
BODY_TO_IMU used).


Compare: 
https://github.com/paparazzi/paparazzi/compare/7322cdbfd008...0e947625ca0e

reply via email to

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