Commit Graph

10342 Commits

Author SHA1 Message Date
Michael Keller 49ba30174b
Merge pull request #4715 from fiam/telemetry_battery
Don't check batteryConfig fields from the telemetry, call APIs instead
2017-12-05 19:00:48 +13:00
Michael Keller 442906f23b
Merge pull request #4716 from fiam/sport_new_fields
Add FSSP_DATAID_HOME_DIST and FSSP_DATAID_ASPD to S.Port
2017-12-05 19:00:27 +13:00
Alberto García Hierro d666151188 Don't check batteryConfig fields from the telemetry, call APIs instead
This makes the telemetry code less dependendant on the battery
implementation.

New functions introduced:
    isBatteryVoltageAvailable()
    isAmperageAvailable()
2017-12-04 17:14:17 +00:00
Alberto García Hierro bfe416a979 Add FSSP_DATAID_HOME_DIST and FSSP_DATAID_ASPD to S.Port
Emit sensors for home distance and air speed in Smartport telemetry.
While airspeed is not yet supported in BF, this makes both BF
and iNAV send the same data packages via Smartport and reserves a
data ID for future usage when BF adds support for pitot sensors.
2017-12-04 17:04:21 +00:00
Michael Keller 97a46aa0e9
Merge pull request #4713 from mikeller/fix_fixedwing_althold_reversed_condition
Fixed condition for `fixedwing_althold_reversed`.
2017-12-03 13:41:11 +13:00
mikeller 299f2565c0 Fixed condition for `fixedwing_althold_reversed`. 2017-12-03 12:28:18 +13:00
MJ666 bd1413839b
Merge pull request #4709 from AlienWiiBF/AFMAG
AlienFlight target mag alignment fixes
2017-12-02 15:50:43 +01:00
MJ666 c6672622b8 AlienFlight targets mag alignment fix 2017-12-02 12:39:54 +01:00
Martin Budden 756795721c
Merge pull request #4706 from martinbudden/bfa_3d_iterm
Keep ITerm zero for 250ms after motor reversal in 3D mode
2017-12-02 07:02:45 +00:00
Michael Keller e1cba01f26
Merge pull request #4696 from mikeller/change_channel_data_to_uint16_t
Changed channel data to be `uint16_t`.
2017-12-02 13:10:24 +13:00
Martin Budden d0a77bc917 Keep ITerm zero for 250ms after motor reversal in 3D mode 2017-12-01 21:36:32 +00:00
Martin Budden dd3a40f036
Merge pull request #4702 from martinbudden/bfa_3d_iterm
Reset ITerm on motor reversal
2017-12-01 08:16:22 +00:00
Martin Budden e178d2b956
Merge pull request #4703 from martinbudden/bfa_f1_build
Fixed F1 build
2017-12-01 07:42:26 +00:00
Michael Keller 42cfc886df
Merge pull request #4701 from martinbudden/bfa_mixer_servo_tidy
Tidy of mixer and servo code
2017-12-01 20:10:52 +13:00
Martin Budden 9060ecb302 Reset ITerm on motor reversal 2017-12-01 07:06:20 +00:00
Martin Budden d6d70d5a74 Fixed F1 build 2017-12-01 06:50:34 +00:00
Martin Budden ccb4f77ae2 Tidy of mixer and servo code 2017-12-01 06:07:32 +00:00
mikeller 471484291c Changed channel data to be `uint16_t`. 2017-12-01 08:54:39 +13:00
Michael Keller ce345a8446
Merge pull request #4692 from mikeller/update_matekf405
Updated MATEKF405 target definition.
2017-12-01 08:19:10 +13:00
Michael Keller 5a52643055
Merge pull request #4693 from mikeller/update_matekf722
Updated MATEKF722 target definition.
2017-12-01 08:18:54 +13:00
mikeller bfe9fdad39 Updated MATEKF405 target definition. 2017-11-30 18:27:47 +13:00
mikeller 39efc9ab1d Updated MATEKF722 target definition. 2017-11-30 18:18:17 +13:00
Michael Keller 81e4be3773
Merge pull request #4685 from sambas/betaflightF7
Nero DMAR update
2017-11-30 18:03:10 +13:00
Michael Keller a72a46c604
Merge pull request #4683 from mikeller/added_frsky_x_spi_rx
Added FrSky X SPI RX protocol.
2017-11-30 18:02:35 +13:00
Michael Keller 4525a20ec9
Merge pull request #4677 from mikeller/fixed_permissions
Fixed permissions on files.
2017-11-30 17:57:27 +13:00
Michael Keller f0cf65467b
Merge pull request #4675 from jflyper/bfdev-fix-softserial-disappearing-start-bit
[SOFTSERIAL] Fix disappearing start bit in SERIAL_BIDIR case.
2017-11-30 17:56:40 +13:00
Michael Keller 2614d708f6
Merge pull request #4644 from martinbudden/bfa_max7456_tidy
MAX7456 code tidy
2017-11-30 17:55:33 +13:00
Michael Keller 96b8189e60
Merge pull request #4595 from martinbudden/bfa_flash_bus
Improve bus usage in M25P16 flash
2017-11-30 17:54:33 +13:00
Martin Budden 1482439bbe Improve bus usage in M25P16 flash 2017-11-29 09:35:16 +00:00
Martin Budden 7be1d09e50 MAX7456 code tidy 2017-11-29 09:20:45 +00:00
Martin Budden 07855aaf12
Merge pull request #4684 from martinbudden/bfa_acc_gyro_accumulation_fix
Fix to acc gyro accumulation code
2017-11-29 05:46:57 +00:00
Martin Budden c0b1572175 Fix to acc gyro accumulation code 2017-11-28 16:04:00 +00:00
Martin Budden 94d3549299
Merge pull request #4681 from fiam/agh_fix_set_tx_info
Fix MSP code in switch for MSP_SET_TX_INFO
2017-11-28 15:19:39 +00:00
Sami Korhonen 4162112ddc Nero DMAR update 2017-11-28 17:14:15 +02:00
mikeller d3a6b3730f Added FrSky X SPI RX protocol.
Original implementation from midelic.

Added RX number support.

Fixed (almost) SmartPort over SPI.

Fixed indentation.

Somewhat working telemetry.

Fixed SmartPort.

Work on SmartPort.

Work on SmartPort.

Working version without RX ringbuffer.

Na, stuff it, ringbuffer is better.

Fixed build.

Make sure we don't lose packets.

Made MSP over SmartPort over SPI work.

Moved processing of incoming telemetry into 'handleTelemetry'.

Improved telemetry buffering.

Make sure telemetry polling is happening.

Some cleanups.

Make telemetry wait if MSP is pemding.

Made MSP over SmartPort work.

Fixes after rebase.

Combined FrSky D and FrSky X.

Combined FrSky D and FrSky X.

Merged D and X.
2017-11-29 03:12:02 +13:00
Alberto García Hierro 59f8ee0d15 Fix MSP code in switch for MSP_SET_TX_INFO
Case was handling MSP_TX_INFO which is an out command and already
handled in mspProcessOutCommand. This case should handle MSP_SET_TX_INFO
2017-11-28 13:15:33 +00:00
Michael Keller a0c672ba69
Merge pull request #4672 from martinbudden/bfa_imu_acc_gyro_accumulate
Add acc and gyro accumulators to improve attitude estimation
2017-11-29 00:50:30 +13:00
mikeller 4d30971e2d Fixed permissions on files. 2017-11-28 23:31:55 +13:00
Michael Keller 6936ba6dab
Merge pull request #4667 from jflyper/bfdev-TIMUP-pseudo-resource
Add TIMUP pseudo resource to use with DMAR
2017-11-28 22:22:03 +13:00
Martin Budden 22c672fa7d Add acc and gyro accumulators to improve attitude estimation 2017-11-28 06:26:57 +00:00
Michael Keller d3c0a4ae0a
Merge pull request #4639 from martinbudden/bfa_osd_tidy
Tidy of OSD code
2017-11-28 19:18:29 +13:00
Michael Keller 5fee45b704
Merge pull request #4643 from jflyper/bfdev-target-and-mcu-dependent-optimzation-alternative
Add MCU dependent optimization to sources.mk
2017-11-28 19:17:56 +13:00
Michael Keller 568b0ac764
Merge pull request #4658 from martinbudden/bfa_rx_reentrant1
First steps to making RX code reentrant
2017-11-28 19:17:02 +13:00
Michael Keller d3a0e18a0c
Merge pull request #4670 from mikeller/fix_fport_rx
Fixed FPort receiving state machine.
2017-11-28 19:00:08 +13:00
jflyper 209be419cb Add TIMUP pseudo resource 2017-11-28 10:16:34 +09:00
Martin Budden d3d5b107cc
Merge pull request #4656 from martinbudden/bfa_imu_acc_alt_hold
Removed unnecessary acc calculation when no alt hold
2017-11-28 00:51:28 +00:00
Martin Budden d6a4b5d99c
Merge pull request #4657 from martinbudden/bfa_imu_acc_healthy
Use float for imuIsAccelerometerHealthy calculation
2017-11-27 23:45:01 +00:00
mikeller 6da0a21292 Fixed FPort receiving state machine. 2017-11-28 10:23:56 +13:00
Michael Keller dd57149e02
Merge pull request #4635 from jflyper/bfdev-large-nor-flash
FLASH: Use 4B address for device > 128Mb (16MB)
2017-11-28 08:24:16 +13:00
jflyper fe7cfbdc30 Fix disappearing start bit in SERIAL_BIDIR case. 2017-11-28 01:26:40 +09:00