1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00
Commit graph

14917 commits

Author SHA1 Message Date
Dominic Clifton
c68d95dd7a Merge pull request #641 from tricopterY/patch-1
Added new MSP codes to serial_msp.c
2015-03-28 20:24:32 +00:00
Dominic Clifton
9837e6a202 Merge pull request #640 from sherlockflight/cli-whitespace
Ignore trailing spaces on CLI commands
2015-03-28 20:23:02 +00:00
Dominic Clifton
a6dc7148c4 Change Profile display page so things fit better. 2015-03-28 19:20:21 +00:00
Dominic Clifton
74c605ab9b Change Delta to 'Dt' on display so that larger delta times fit. 2015-03-28 19:16:51 +00:00
Dominic Clifton
01df0b65c2 Fix typos in comments. 2015-03-28 19:16:19 +00:00
Dominic Clifton
704ace82ec Reduce display update frequency to allow more CPU time for GPS frame
processing when unarmed.
2015-03-28 18:55:18 +00:00
Dominic Clifton
fa12c77d8c Merge branch 'fix-ppmrx-303' of git://github.com/ledvinap/cleanflight into ledvinap-fix-ppmrx-303 2015-03-26 19:08:27 +00:00
Petr Ledvina
68305a3929 Fix timer period on STM32F303 TIM2
TIM2 is 32bit itmer, but we want 16bit period ...
2015-03-26 18:17:21 +01:00
Petr Ledvina
a125228d1f Fix PPM in TIM1 2015-03-26 18:07:18 +01:00
Dominic Clifton
004dd0daaf Merge pull request #666 from nebbian/Bugfix-LuxFloat-IntegralTerm-a
^ Multiplying LuxFloat I term by ten to make it tuneable
2015-03-26 15:15:48 +00:00
Dominic Clifton
7a4add47d5 Merge pull request #675 from rimasaviz/strider-fix
fix for missing AUX1-4 signals on PWM5-8 outputs with LED_STRIP on NAZE
2015-03-26 15:11:04 +00:00
Dominic Clifton
507a022e90 Merge branch 'master' into serial-port-options 2015-03-26 01:32:06 +00:00
Dominic Clifton
ef50a0648f Allow spcification of flash size on command line. 2015-03-26 01:29:00 +00:00
Rimas Avizienis
56167eb0d2 workaround for AUX1-4 PWM signals missing on PWM5-8 outputs when LED_STRIP is enabled on NAZE32 2015-03-25 12:35:02 -07:00
Nicholas Sherlock
5edfdde942 Restore previous rate limit for yaw of 2.55
Since some people are indeed using yaw > 1.0.
2015-03-26 02:02:32 +13:00
Ben Hitchcock
9e842704c5 ^ Multiplying I term by ten to make it tuneable 2015-03-24 22:54:49 +08:00
Nicholas Sherlock
1b5571e268 Ignore trailing spaces on CLI commands 2015-03-24 01:13:26 +13:00
Dominic Clifton
35abdb89f5 Merge pull request #658 from sherlockflight/rate-limits
Apply the same maximum control rates (1.0) in CLI and MSP
2015-03-23 08:22:12 +00:00
Dominic Clifton
1de9fa4db6 SPRacingF3 - Add sonar support. 2015-03-22 20:55:27 +00:00
Dominic Clifton
07bcf204e1 STM32F3 - Add sonar support. 2015-03-22 20:55:02 +00:00
Dominic Clifton
413e0bde64 STM32F3 - Allow EXTI configuration. 2015-03-22 20:53:42 +00:00
Nicholas Sherlock
828ec550cd Apply the same maximum control rates (1.0) in CLI and MSP
Previously it was possible to set roll/pitch rate > 1.0 using MSP, but
not using the CLI. Roll/pitch rate > 1.0 is meaningless.

TPA is also limited to 1.0.
2015-03-22 20:38:15 +13:00
Dominic Clifton
4154afcb63 Adding a unit test for quad X motor mixers. 2015-03-21 11:30:03 +01:00
Dominic Clifton
730d0fe45c Ensure serial runtime data structures are set before they are used.
Fixes #636
2015-03-20 18:37:50 +01:00
Nicholas Sherlock
3c543d36c8 Change port mode MODE_BIDIR into a port option instead 2015-03-19 13:42:13 +13:00
Nicholas Sherlock
344e8fbf04 Make serial port option checks consistent 2015-03-19 12:56:11 +13:00
Nicholas Sherlock
159f57f583 Add new serial port options field (inversion, stop bits, etc) 2015-03-19 12:56:11 +13:00
Dominic Clifton
84c7c985ab First unit test for tricoper servo mixer. 2015-03-19 00:23:57 +01:00
tricopterY
330db9587b Added new MSP codes to serial_msp.c
New codes: MSP_SET_ARM_CONFIG, MSP_ARM_CONFIG, MSP_SET_LOOP_TIME, MSP_LOOP_TIME
Incremented minor version to 8.
2015-03-18 12:12:27 +11:00
Dominic Clifton
c1a0ae16b7 Make it easier to correlate the size for MSP_MISC against the serialized
values.
2015-03-18 00:15:23 +01:00
Dominic Clifton
03b1adb042 Add the more unit tests for the mixer.
Closes #16
2015-03-17 23:56:59 +01:00
Michael Jakob
5fccedd5f3 Deactivate BlackBox and GPS for ALIENWIIF3 2015-03-17 21:35:11 +01:00
Michael Jakob
0c0b2e8461 Enable battery monitoring for Sparky and ALIENWII F3 2015-03-17 21:35:10 +01:00
Nicholas Sherlock
3e8ce5833f Simplify blackbox header writing using new printf() 2015-03-17 22:52:05 +13:00
Nicholas Sherlock
bcadd0803a Merge pull request #624 from ledvinap/improvement-blackbox
Simplify Blackbox code by improving printf() and using that instead of longer more specialised code
2015-03-17 22:30:21 +13:00
Petr Ledvina
35ef95cec7 blackbox - support arrays greater that 10 elements / use printf to print numbers 2015-03-17 09:34:52 +01:00
Petr Ledvina
8d2dc82f4b blackboxPrintf - return number of characters written
change fmt to `const char*`
2015-03-17 09:33:16 +01:00
Petr Ledvina
c90231f35c printf - implement '%n' 2015-03-17 09:27:54 +01:00
Petr Ledvina
ae67870db1 Modify prinf-like functions to return number of characters written 2015-03-17 09:27:19 +01:00
Dominic Clifton
8e6570754c Add the first unit test for the mixer.
See #16
2015-03-16 22:56:14 +01:00
Jenny
1ff8c177ce Update battery_unittest.cc
additions for feature and calculateThrottleStatus
2015-03-16 15:03:46 +00:00
Jenny
3160677e1c Merge remote-tracking branch 'upstream/master' into VCM_motor_stop_fix 2015-03-16 14:58:57 +00:00
Dominic Clifton
1e7fb08b9d Ensure failsafe is not reset when using stale serial rx channel data. 2015-03-15 22:05:54 +01:00
Dominic Clifton
e08c83fdc9 Use the same pattern for cleaning the frame complete flag in spektrum
and xbus driver as used in sbus/sumd/sumh drivers.

Very minor performance optimization too since the flag is only checked
once per main loop instead of once per channel read.
2015-03-15 00:02:45 +01:00
Dominic Clifton
7d6e4aa390 Updating the SerialRX drivers so they can report back a failsafe
condition.  Improve SumD driver, when a failsafe is detected the values
from the frame will be used (same behaviour as SBus when SBus RX reports
failsafe).
2015-03-14 23:28:38 +01:00
Dominic Clifton
6059089bb6 Fix disabling of acc and mag sensors.
Closes #623
2015-03-14 21:01:19 +01:00
Dominic Clifton
4cf6fe6571 Rename 'frsky_hiprec_vfas' to 'frsky_vfas_precision' and introduce enum
for FRSKY_VFAS_PRECISION_LOW and FRSKY_VFAS_PRECISION_HIGH.

Improves naming for humans.  'hiprec' was meaningless and
untranslatable. See
https://cleancoders.com/episode/clean-code-episode-2/show
2015-03-13 23:49:24 +01:00
Dominic Clifton
d82fc6b9be Merge pull request #477 from projectkk2glider/projectkk2glider/issue_316_frsky_voltages
Fixes #316: better arithmetics for FrSky CELL voltages, VFAS battery vol...
2015-03-13 23:40:24 +01:00
Dominic Clifton
626bd29dae Merge pull request #592 from sherlockflight/blackbox-serial-baud
Support new 230400 baud rate which allows >750Hz Blackbox logging
2015-03-13 23:24:57 +01:00
Dominic Clifton
ccb1698ba5 Add human readable versions of the serial functions bitmask values to
help non-developers understand.
2015-03-13 22:28:10 +01:00