Commit Graph

6398 Commits

Author SHA1 Message Date
Martin Budden 590e569375 Changed gyro init and read functions to take a gyro_t* parameter.
Scaled gyro values to degrees per second in gyroUpdate.
2016-11-30 16:59:55 +00:00
borisbstyle 55b32740d9 Merge pull request #1702 from martinbudden/bf_imuconfig_in_structs
Moved masterConfig imu items into a struct
2016-11-30 12:14:10 +01:00
borisbstyle b4ecb527b7 Merge pull request #1703 from betaflight/digital_offset
Convert digital offset to percentage
2016-11-30 10:31:51 +01:00
borisbstyle 9f762aa88a Convert digital offset to percentage
Bump EEPROM

Fix rounding
2016-11-30 00:55:22 +01:00
Martin Budden 6ff265ec62 Moved masterConfig imu items into a struct 2016-11-29 22:28:11 +00:00
Martin Budden c0761eb619 Merge pull request #1687 from martinbudden/bf_accelerometer_to_structs
Moved masterConfig accelerometer items to struct. masterConfig tidy.
2016-11-29 22:24:19 +01:00
Martin Budden 975f355b51 Merge pull request #1674 from martinbudden/bf_task_instrumentation
Improved scheduler and task timing instrumentation
2016-11-29 22:23:15 +01:00
Martin Budden d7a231f97b Merge pull request #1688 from martinbudden/bf_throttle_correction_to_structs
Moved masterConfig throttle correction items into a struct
2016-11-29 22:17:51 +01:00
Martin Budden 1bfeabfa96 Merge pull request #1699 from martinbudden/bf_gyro_filter_init_fix
Fixed incorrect initialisation of gyro PT1 filter
2016-11-29 10:13:20 +01:00
Martin Budden bbddbfcb7b Fixed incorrect initialisation of gyro PT1 filter 2016-11-29 08:54:23 +00:00
Michael Keller e5c4da5144 Merge pull request #1698 from mikeller/fix_consumption_alert
Fixed consumption alert.
2016-11-29 19:01:29 +13:00
mikeller afbe7e52c2 Fixed consumption alert. 2016-11-29 19:00:14 +13:00
Michael Keller c120e702de Merge pull request #1693 from blckmn/tag_output
Minor clean up of port / pin output in Resource command.
2016-11-29 10:34:41 +13:00
Michael Keller c20a53aba1 Merge pull request #1694 from mikeller/fix_3d_deadband_throttle
Fixed setting of 3D deadband throttle to 1000.
2016-11-29 08:10:41 +13:00
Michael Keller a39df1cb86 Fixed setting of 3D deadband throttle to 1000. 2016-11-29 08:06:51 +13:00
blckmn 77e425260b Minor clean up of port / pin output in Resource command. 2016-11-28 21:06:06 +11:00
Martin Budden d42da7b793 Merge pull request #1683 from AndersHoglund/fix_vcp_bbdl
VCP could only handle max 256 byte frames, too small data type uint8_t
2016-11-27 21:44:46 +01:00
Martin Budden 84467ea0e1 Moved masterConfig throttle correction items into a struct 2016-11-27 20:39:58 +00:00
Anders Hoglund 04ea404f82 VCP could only handle max 256 byte frames, too small data type uint8_t. Now uint32_t. 2016-11-27 17:10:30 +01:00
Martin Budden 18b052e246 Merge pull request #1622 from mikeller/make_mavlink_shareable
Made MAVLink telemetry shareable with serial Rx.
2016-11-27 15:45:58 +01:00
Martin Budden 265cd85457 Moved accelerometer items to struct. masterConfig tidy. 2016-11-27 14:42:50 +00:00
borisbstyle 417d27dad2 Merge pull request #1658 from mikeller/add_consumption_alerts
Added battery warnings based on consumption.
2016-11-27 13:25:43 +01:00
Martin Budden ce29cc8277 Updated comments 2016-11-27 07:19:24 +00:00
Martin Budden a3742ff8b9 Fixed moving averages 2016-11-27 07:08:24 +00:00
Martin Budden 4fe68ce093 Improved scheduler and task timing instrumentation 2016-11-27 07:08:24 +00:00
Michael Keller 1c2bbf9c1a Added battery warnings based on consumption. 2016-11-27 18:32:33 +13:00
mikeller 28f2cf0510 Made MAVLink telemetry shareable with serial Rx. 2016-11-27 15:43:02 +13:00
borisbstyle ccd759d93a Remove unnecessary lazy initialisation flag checks 2016-11-26 21:30:21 +01:00
borisbstyle 3db231dcdc Merge pull request #1640 from martinbudden/bf_init_tidy
Tidied initialisation, especially gyro and PID filters
2016-11-26 21:25:44 +01:00
J Blackman f38e13e571 Merge pull request #1672 from betaflight/eeprom-patch-1
Bump EEPROM version number
2016-11-26 12:15:34 +11:00
J Blackman 4c924ef69b Bump EEPROM version number
Updated version number following config parameter changes (moved to structs)
2016-11-26 12:15:07 +11:00
Martin Budden 2d8d03e507 Fixup after rebase 2016-11-25 23:25:55 +00:00
Martin Budden 137b323577 Fixed MOTOLAB and MULTIFLITEPICO targets 2016-11-25 23:25:55 +00:00
Martin Budden 6c6a5d88dc Fixed COLIBRI_RACE build 2016-11-25 23:25:55 +00:00
Martin Budden 7781ae1e04 Updated target config.c files 2016-11-25 23:25:55 +00:00
Martin Budden 78e6130aab Moved further gyro parameters into gyroConfig_t 2016-11-25 23:22:24 +00:00
Martin Budden 0f082201f4 Removed unrequired static data from sensors/gyro.c 2016-11-25 23:22:24 +00:00
Martin Budden 2c7d06a94e Moved gyro filter settings into gyroConfig 2016-11-25 23:22:24 +00:00
Martin Budden fa4d04b5a7 Fixed gyro Q factor calculation 2016-11-25 23:22:23 +00:00
Martin Budden 747649ce3a Fixed build when SONAR undefined 2016-11-25 23:22:23 +00:00
Martin Budden e9407f3065 Tidied initialisation, especially PID filters 2016-11-25 23:22:23 +00:00
borisbstyle 81f6a1886a Merge pull request #1669 from blckmn/serial_pup
Enabling pull-ups for F4 serial
2016-11-26 00:21:10 +01:00
borisbstyle ebb1be31d0 Merge pull request #1668 from AlienWiiBF/Serial_Fix
Fix findSerialPortIndexByIdentifier() function
2016-11-26 00:20:37 +01:00
borisbstyle 15af8c2154 Merge pull request #1666 from Faduf/master
Dshot support for YuPIF4 target
2016-11-26 00:13:19 +01:00
Michael Jakob 12d3a39d84 Fix PWM rate for Oneshot125 on AlienFlight F3 and F4 2016-11-26 00:09:57 +01:00
borisbstyle d38f83bd40 Merge pull request #1671 from betaflight/filter_init_loop
Fix Filter Init Loop
2016-11-26 00:09:04 +01:00
borisbstyle af8453c224 Fix Filter Init Loop 2016-11-26 00:08:18 +01:00
borisbstyle 0d53911257 Merge pull request #1641 from martinbudden/bf_pid_tidy2
Use function pointers to tidy PID filter handling
2016-11-25 23:55:58 +01:00
J Blackman 28caf43099 Merge pull request #1654 from fishpepper/upstream
bugfix for sending when parity is enabled
2016-11-26 09:36:28 +11:00
J Blackman 87ea78db86 Merge pull request #1663 from martinbudden/bf_cli_playsound
Removed cli play_sound command for F1 targets
2016-11-26 09:35:03 +11:00