[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 573747: [radio_control] cleanu
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 573747: [radio_control] cleanup channel defines |
Date: |
Fri, 28 Nov 2014 07:53:01 -0800 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: 573747af5c2eac71076d9d5ad5e33749bece58e6
https://github.com/paparazzi/paparazzi/commit/573747af5c2eac71076d9d5ad5e33749bece58e6
Author: Felix Ruess <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M sw/airborne/arch/lpc21/subsystems/radio_control/ppm_arch.h
M sw/airborne/arch/sim/subsystems/radio_control/ppm_arch.h
M sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
M sw/airborne/subsystems/radio_control.h
M sw/airborne/subsystems/radio_control/ppm.c
M sw/airborne/subsystems/radio_control/ppm.h
M sw/airborne/subsystems/radio_control/sbus_common.h
Log Message:
-----------
[radio_control] cleanup channel defines
- PPM: remove PPM_NB_CHANNEL define an always decode RADIO_CTL_NB (number of
channels in radio.xml)
- PPM: the actually used/needed channels RADIO_CONTROL_NB_CHANNEL default to
RADIO_CTL_NB but can be overwritten by user
e.g. to use less channels for intermcu
- SBUS: only provide a default for RADIO_CONTROL_NB_CHANNEL
Commit: 46714e9b6eac300f18c022f2becab263f6fbbb48
https://github.com/paparazzi/paparazzi/commit/46714e9b6eac300f18c022f2becab263f6fbbb48
Author: Felix Ruess <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M conf/conf_tests.xml
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c
Log Message:
-----------
[radio_control] spektrum: copy only actually used channels to
radio_control.values
Commit: 154bd0f8fa8683d7df7ca7216c33fdc50f2f637c
https://github.com/paparazzi/paparazzi/commit/154bd0f8fa8683d7df7ca7216c33fdc50f2f637c
Author: Felix Ruess <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M sw/airborne/arch/sim/subsystems/radio_control/spektrum_arch.h
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.h
M sw/airborne/subsystems/radio_control/ppm.h
M sw/airborne/subsystems/radio_control/sbus_common.h
M sw/airborne/subsystems/radio_control/superbitrf_rc.h
Log Message:
-----------
[radio_control] error if RADIO_CONTROL_NB_CHANNEL > max available channels
Commit: f38c5db2db2e9693bf72d6e1ae80e9c87c0dcc0e
https://github.com/paparazzi/paparazzi/commit/f38c5db2db2e9693bf72d6e1ae80e9c87c0dcc0e
Author: dewagter <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M conf/airframes/CDW/TwoSeas.xml
Log Message:
-----------
[conf] Example that needs the RADIO_CONTROL_NB_CHANNEL
Commit: 7ae4ab3a6f209ed8d07d529afb60db7aadd2d9ab
https://github.com/paparazzi/paparazzi/commit/7ae4ab3a6f209ed8d07d529afb60db7aadd2d9ab
Author: Felix Ruess <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.h
Log Message:
-----------
[stm32] spektrum: always decode up to 12 channels
but only copy RADIO_CONTROL_NB_CHANNEL to radio_control.values
Commit: 42e49d17aabb9645373af3b49b27dd54650ef3fb
https://github.com/paparazzi/paparazzi/commit/42e49d17aabb9645373af3b49b27dd54650ef3fb
Author: Felix Ruess <address@hidden>
Date: 2014-11-28 (Fri, 28 Nov 2014)
Changed paths:
M conf/airframes/CDW/TwoSeas.xml
M conf/conf_tests.xml
M sw/airborne/arch/lpc21/subsystems/radio_control/ppm_arch.h
M sw/airborne/arch/sim/subsystems/radio_control/ppm_arch.h
M sw/airborne/arch/sim/subsystems/radio_control/spektrum_arch.h
M sw/airborne/arch/stm32/subsystems/radio_control/ppm_arch.h
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.c
M sw/airborne/arch/stm32/subsystems/radio_control/spektrum_arch.h
M sw/airborne/subsystems/radio_control.h
M sw/airborne/subsystems/radio_control/ppm.c
M sw/airborne/subsystems/radio_control/ppm.h
M sw/airborne/subsystems/radio_control/sbus_common.h
M sw/airborne/subsystems/radio_control/superbitrf_rc.h
Log Message:
-----------
Merge pull request #975 from paparazzi/cleanup_rc_nb_channel_defines
[radio_control] cleanup channel defines
- PPM: remove PPM_NB_CHANNEL define an always decode RADIO_CTL_NB (number of
channels in radio.xml)
- PPM: the actually used/needed channels RADIO_CONTROL_NB_CHANNEL default to
RADIO_CTL_NB but can be overwritten by user
e.g. to use less channels for intermcu
- SBUS: only provide a default for RADIO_CONTROL_NB_CHANNEL
- Spektrum: always try to decode up to SPEKTRUM_NB_CHANNEL (12), but copy only
used RADIO_CONTROL_NB_CHANNEL to radio_control.values
- error if RADIO_CONTROL_NB_CHANNEL > max available channels
As far as I can discern this should finally make it possible to override the
actually used RADIO_CONTROL_NB_CHANNEL from the airframe file (e.g. to transfer
less via intermcu) while still using the proper number of channels for parsing.
Compare:
https://github.com/paparazzi/paparazzi/compare/db9e182e1dd6...42e49d17aabb