Commit graph

1881 commits

Author SHA1 Message Date
Dominic Clifton f5bfe1ce83 Fix MSP_RC_TUNING and MSP_SET_RC_TUNING to cater for rcYawExpo 2015-05-06 22:27:48 +01:00
borisbstyle da8bb6f6fc Yaw Expo Feature 2015-05-06 22:23:40 +01:00
Dominic Clifton 5bf687a150 Fix CheBuzzF3 target, broken in c0aec95e14 2015-05-06 22:20:51 +01:00
Dominic Clifton e0af5f41ef Merge pull request #697 from Supersopp/sonar_and_ADC_current_sensor
Updates sonar so that it can be used together with ADC current meter
2015-05-06 22:14:52 +01:00
Dominic Clifton 62e2b557b5 SPRacingF3 - Enable Blackbox feature and use on-board flash by default.
Ensures that every maiden flight is logged unless user specifically
disables blackbox logging.
2015-05-06 22:02:14 +01:00
Dominic Clifton ee1d5a9a38 SPRacingF3 - Swapping RC3/4 for production boards. 2015-05-06 21:39:16 +01:00
Dominic Clifton b04be157b1 SPRacingF3 - Allow Sonar and Parallel PWM (drops 2 input channels).
Naze32 - Fix initialisation of outputs 5/6 when Parallel PWM and
Sonar are used together with a mixer that needs more than 4 motors.
2015-05-06 21:33:34 +01:00
Dominic Clifton c0aec95e14 STM32F303 - Skip UART3 pins in PWM mapping when UART3 is used. 2015-05-06 20:38:39 +01:00
Dominic Clifton 4efaa4a1a2 Fix indentation of code that was messed up in
b8caf01ee9
2015-05-06 13:13:44 +01:00
Dominic Clifton b8caf01ee9 Merge pull request #836 from SteveAmor/acro_board_boot_fix
Fix for some 1.9.0 boards not booting up
2015-05-06 13:07:06 +01:00
Steveis 4615f1a70d added EXTI_StructInit and replaced tabs with 4 spaces 2015-05-05 12:17:15 +01:00
Dominic Clifton 526281a519 Fix data length for MSP_FAILSAFE_CONFIG.
Thanks @tricopterY
2015-05-04 18:56:51 +02:00
Steveis 3fdbe68ee1 Disable bmp085 interrupt if no baro 2015-05-04 13:00:43 +01:00
Steveis a0bb0135c3 Added MPU6050 PLL Settling Time delay 2015-05-04 10:59:39 +01:00
Steveis 14a95a3f18 include delay(20) 2015-05-04 10:19:58 +01:00
Steveis c73af88507 prevent bmp085 interrupts being set up when no baro so board will boot 2015-05-04 09:42:08 +01:00
Dominic Clifton 4d29e417be Merge pull request #826 from sherlockflight/airplane-yaw
Allow yaw at low throttle for airplane mixes
2015-05-04 09:24:19 +01:00
Dominic Clifton d2ef645fbe Merge pull request #823 from ethomas997/addPlaySoundCommand
Add 'play_sound' CLI command
2015-05-04 09:22:04 +01:00
Dominic Clifton 9e705a511a Merge pull request #829 from Pierre-A/micro_update_PA
Just a micro correction
2015-05-04 09:11:13 +01:00
Dominic Clifton a7faa28ee9 Merge pull request #831 from borisbstyle/master
Yaw_fix default values
2015-05-04 09:09:26 +01:00
tricopterY d7e668af9f Bug fix to cater for additional number of Bytes MSP_RX_CONFIG 2015-05-04 08:56:42 +01:00
borisbstyle 16faced65a Update mixer.c
Make it possible to still be able to disable the jump protection at all by configuring the highest configurable value.
2015-05-01 17:23:29 +02:00
BorisB c3522882f2 yaw_fix default values
Pull request #802 has by default disabled yaw jump. That is fine on the
most of the configurations, but one of my multirotors had an angled
motor due to crash and this was causing weird behaviour.
It is also possible to configure very low values, which can even cause a
craft to not be able to stop after yaw and I am talking about the values
below 100 like 1.

Anyway this fix provides only valid configurable values what can't cause
any danger. Also default parameter is not unlimited anymore and is
configured to 200, which is a safe value to anybody who does the
upgrade.
cli.md is also edited
2015-05-01 13:45:22 +02:00
Pierre-A 05176a196a Just a micro correction 2015-04-30 10:16:25 +02:00
Nicholas Sherlock 32884ad399 Fix missing blackbox D term logging on LuxFloat 2015-04-30 19:51:47 +12:00
Nicholas Sherlock 766f409bac Allow yaw at low throttle for airplane mixes
Fixes #824
2015-04-29 16:39:08 +12:00
E Thomas 96de824f61 Add 'play_sound' CLI command
Added 'play_sound' CLI command; improved ACC_CALIBRATION_FAIL sound (to
make it less like ACC_CALIBRATION sound).
2015-04-27 03:46:57 -04:00
Dominic Clifton cddf89135a Bumping eeprom config version for PR #802 2015-04-26 20:40:24 +02:00
Dominic Clifton 330d47fb43 Merge pull request #802 from MJ666/Yaw_Fix
This fix is for avoiding yaw overshoot and bounce back for some configurations
2015-04-26 20:38:56 +02:00
Dominic Clifton 441b58c9c8 Allow failsafe config to be set via MSP. Add min/max channel values to
MSP_RX_CONFIG.
2015-04-26 18:27:12 +02:00
Dominic Clifton b63e074d0c Fix unit test compilation failure. 2015-04-25 11:00:32 +02:00
Dominic Clifton f05a12863c Update beeper code to allow targets that don't support GPS to be built. 2015-04-25 10:55:59 +02:00
Dominic Clifton 3974b02b3a Remove BEEPER_CONFIRM_BEEP. Simplifies logic, reduces code size, and
ensures that the durations of one or more confirmation beeps can never
get out of sync when the code is changed.  Renamed queueConfirmationBeep
to beeperConfirmationBeeps - nothing was actually queued.
2015-04-25 10:53:07 +02:00
Dominic Clifton 064de090a0 Even more cleanups to the new beeper code. Seperate beeper mode and
priority via simpler static declaration - removes giant switch
statement.  Use a new method when beeping out GPS status.  Lower memory
usage. Smaller code size.  Beeper priority now only handled in a single
place.
2015-04-25 10:39:14 +02:00
Dominic Clifton 85b524fa18 Cleanup beeper mode comments to reduce maintenance overhead when
adding/removing modes and/or refactoring.
2015-04-25 00:48:01 +02:00
Dominic Clifton 3b557d5f42 Further cleanups to the new beeper code. 2015-04-24 23:55:11 +02:00
Dominic Clifton 6360aa0dca Cleanup new beeper code. Decreases code-size, removes unneeded state BEEPER_STOP, reduces needs for some comments, removes some magic numbers, simplifies logic and improves maintainability. 2015-04-24 23:10:35 +02:00
Michael Jakob ca9b307850 Adjust variable data type for new CLI parameter 2015-04-23 17:30:21 +02:00
Michael Jakob 2fd79a7aa2 This fix is for avoiding yaw overshoot and bounce back for some
configurations
The hardcoded limit in the mixer and PID controllers 3-5 would be
removed
by default and will be configurable by CLI variables:

yaw_jump_prevention_limit, global setting (original fixed value was 100)
yaw_p_limit, per profile setting (fixed value was 300)
2015-04-23 17:30:20 +02:00
Dominic Clifton bad0b1b04d Fix random RX loss beep when using Serial RX receivers. 2015-04-23 16:36:56 +02:00
Dominic Clifton 7266d42466 Cleanup failsafe beeper code and update failsafe unit tests. 2015-04-23 15:55:04 +02:00
Dominic Clifton 519586a5ce Merge branch 'refactoredBeeperCode_181_1' of
git://github.com/ethomas997/cleanflight into
ethomas997-refactoredBeeperCode_181_1

Conflicts:
	src/main/flight/failsafe.c
	src/main/io/beeper.c
	src/main/mw.c
2015-04-23 01:21:27 +02:00
Dominic Clifton b2710b215e Fix typo in comment 2015-04-22 23:19:42 +02:00
Dominic Clifton 407f71ce6e Merge branch 'rework-failsafe' 2015-04-22 21:25:07 +02:00
Dominic Clifton c085b2c61d Fix CJMCU build (broken in 08efc2e) 2015-04-22 20:24:23 +01:00
Dominic Clifton 581b0cd897 Fix compiler warning regarding failsafeIndicator 2015-04-22 21:15:47 +02:00
Dominic Clifton fbc3a8e1eb Correct rx channel min/max pulse checking so that it is inclusive to
match the documentation.  Add first unit tests for code in rx.c.
2015-04-19 13:22:32 +01:00
Nicholas Sherlock 08efc2e66d Fix tri_unarmed_servo (was broken by pid_at_min_throttle changes) 2015-04-19 21:37:51 +12:00
Dominic Clifton 20a421c4be Add test to ensure that failsafe is not activated when disarmed and RX
signal loss is occurs.
2015-04-19 06:29:54 +01:00
Dominic Clifton ebd5475a55 DISPLAY - Allow FC to boot normally if OLED display is not connected at
boot.  FC can detect when the display is unplugged and recovers after
display I2C timeouts.
2015-04-18 20:13:46 +01:00
Dominic Clifton d4eb558254 Ensure failsafe does not repeatedly call disarm when landed. 2015-04-18 19:00:20 +01:00
Dominic Clifton a34e8f0bdb Update the failsafe so that an extra cycle is not required between some
phase changes.
2015-04-17 00:10:35 +01:00
Dominic Clifton eb74735ee8 First cut of unit tests for reworked failsafe.
In writing these tests a bug was discovered with RX_SERIAL and RX_MSP
failsafe delay timing - the configured delays are not honoured.
2015-04-16 23:35:56 +01:00
Dominic Clifton a5c2c70541 Fix build for targets that don't use BARO_EOC_GPIO. 2015-04-16 20:56:50 +01:00
Dominic Clifton 6d5b44df7a Fix boot failure on Flip32+ Deluxe Acro.
The problem was the MPU6050 EXTI handler was not registered due to baro
detection taking the only callback handler slot.  When the MPU6050 EXTI
was configured the interrupt flag was never cleared which results in the
CPU being starved.
2015-04-16 20:26:20 +01:00
Dominic Clifton 4b7de19460 Update ALIENWIIF1/F3 specific failsafe configuration to fix broken build 2015-04-16 12:37:30 +01:00
Dominic Clifton 4b4e64e204 Fix unresolved references in unit tests for new failsafe code. 2015-04-16 10:57:27 +01:00
Dominic Clifton 35f78d8680 Update comment regarding rx_min_usec and rx_max_usec 2015-04-16 08:53:26 +01:00
Dominic Clifton 7f42149c30 Fix missing & operator. 2015-04-16 02:02:53 +01:00
Dominic Clifton c8c0c85656 First-cut of a refactored failsafe system.
* fixes issue where indicators would flash when SBus RX entered failsafe
mode.
* fixes bug where turning off a TX for an SBus RX would instantly disarm
when using a switch to arm when the channel went outside the arming
range.
* introduces failsafe phases to make the system more understandable.
* allows the system to ask if rxSignalIsBeing received for all RX
systems: PPM/PWM/SerialRX/MSP.  Also works when a serial data signal is
still being received but the data stream indicates a failsafe condition
- e.g.  SBus failsafe flags.
* failsafe settings are no-longer per-profile.

Untested: Sumd/Sumh/XBus/MSP (!)
Tested: SBus X8R, Lemon RX Sat, X8R in PWM, Spektrum PPM.
2015-04-16 01:31:12 +01:00
Dominic Clifton 0ecf8be233 Merge pull request #743 from SamuelBrucksch/master
Fixed speed according to frsky protocol
2015-04-14 20:17:59 +01:00
Dominic Clifton 21191c0e14 Merge pull request #762 from bhuism/master
fix voltage calculation for smartport telemetry
2015-04-14 20:14:01 +01:00
Dominic Clifton 6eaca17cbd fix unit test compilation errors caused by 0359a32 2015-04-14 19:54:48 +01:00
Dominic Clifton beef2e87d7 Merge branch 'bugfix-sonar-drift' of git://github.com/nebbian/cleanflight into nebbian-bugfix-sonar-drift 2015-04-14 19:45:54 +01:00
Dominic Clifton 1a2ef223a0 SPARKY - Apply Oneshot/PPM timer clash fix.
Closes #756.
2015-04-14 19:29:11 +01:00
Dominic Clifton 436d2ed591 Disable VBAT feature by defualt unless target has on-board voltage
divider.
2015-04-14 16:37:47 +01:00
Dominic Clifton 0dd84f587f Merge pull request #767 from sherlockflight/mixer-profile-cli
Fix CLI: mixer settings should be master values, not profile values
2015-04-14 16:19:20 +01:00
Dominic Clifton 78a4476506 Fix comment typo in failsafe.c 2015-04-14 13:59:11 +01:00
Dominic Clifton f28158a5a7 Cleanup debug code. 2015-04-14 13:59:11 +01:00
Nicholas Sherlock 645f4a4d3b Fix CLI: mixer settings should be master values, not profile values 2015-04-14 11:49:20 +12:00
Bas Huisman 65b6041d1f fix voltage calculation for smartport telemetry 2015-04-13 10:14:55 +02:00
Ben Hitchcock 0359a3280b Bugfix to stop altitude hold drift, especially noticeable in sonar mode.
This uses the raw stick values instead of the calculated RCCommand values to determine whether or not the stick has moved.  The problem was that the RcCommand variable wasn't being reset to the stick position each loop, and so outputs were being treated as inputs.
2015-04-12 15:06:04 +08:00
Dominic Clifton c11c25514b SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.
Currently the interrupt handler is unused.  Later it can be used as a
potential source for watchdog checking or to syncronize the system
around new acc/gyro data availability.

Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
2015-04-11 19:18:11 +01:00
Samuel Brucksch c8a33ab1db Update frsky.c
Changed to a faster calculation
2015-04-08 22:44:44 +02:00
Dominic Clifton d3d9721e91 NAZE - Add support for Naze32_SP (aka PARIS Sirius Air HERO 32). 2015-04-08 20:09:53 +01:00
Dominic Clifton 749160f20e Reset to bootloader after failure mode to allow re-flashing. 2015-04-08 20:07:48 +01:00
Samuel Brucksch 8f165e5224 Update frsky.c
fixed compiling issue
2015-04-08 10:48:22 +02:00
Samuel Brucksch 07294f4d3a Update frsky.c
fixed cast
2015-04-08 09:32:08 +02:00
Samuel Brucksch ce4379af47 Update frsky.c
changed speed from cm/s to knots
2015-04-08 09:26:32 +02:00
Dominic Clifton 599cd68c16 Bump version to 1.9.0. 2015-04-07 21:34:33 +01:00
Dominic Clifton caf253e4f8 Automatically disable pid_at_min_throttle when retarded_arm is
enabled.  Closes #719.
2015-04-07 20:59:38 +01:00
Dominic Clifton 0456444cfb Fix compilation of HoTT telemetry unit test. 2015-04-07 20:33:34 +01:00
Dominic Clifton 7d9fc2699a Merge branch 'PA_update1' of git://github.com/Pierre-A/cleanflight into Pierre-A-PA_update1
Conflicts:
	src/main/config/config.c
	src/main/io/serial_cli.c
	src/main/telemetry/hott.c
	src/main/telemetry/telemetry.h
2015-04-07 20:33:03 +01:00
digitalentity 6e041c57dd Added median filter implementation. Added 3-point median filter to generic barometer code. 2015-04-07 19:58:20 +01:00
Dominic Clifton 9065efed94 BMP085 code cleanup. 2015-04-07 19:50:29 +01:00
digitalentity 0134e19edf Avoid reading data from BMP085 when no EOC event occured 2015-04-07 19:31:43 +01:00
E Thomas f02d7403af Port of refactored beeper code 181_1
This the "Port of refactored beeper code #669" modification applied to
version 1.8.1 (4/4/2015) of the code.
2015-04-04 17:54:44 -04:00
Petr Ledvina a189d8e7fb fix barometer timing code
Delays between baro calls are modified to always take at least specified amount of time
2015-04-04 01:28:01 +02:00
Dominic Clifton b9664f1e99 Bump version to 1.8.1 2015-04-01 22:13:13 +01:00
Dominic Clifton 7efdcf13e3 Merge pull request #699 from pinkywafer/frsky_RPM_telemetry_fix
FrSky RPM Telemetry Motor_Stop Bugfix
2015-04-01 22:09:36 +01:00
Dominic Clifton 27ea92f36c Merge pull request #690 from ledvinap/fix-sparky-smartport
Fix sparky smartport
2015-04-01 20:18:12 +01:00
Dominic Clifton 8a7edb17ed Merge branch 'softserial-enabled' of git://github.com/sherlockflight/cleanflight-dev into sherlockflight-softserial-enabled 2015-04-01 20:06:08 +01:00
Dominic Clifton 09fe71c256 Removed unneeded check - gpio.h no-longer included by unit tests. 2015-04-01 17:47:43 +01:00
Dominic Clifton de630fea17 SPARKY - Enable autotune 2015-04-01 17:25:46 +01:00
Dominic Clifton 08a3db00a5 Remove unused variable warning. 2015-04-01 14:12:31 +01:00
Dominic Clifton b0b1eaf9c7 Add first unit test for some code in serial.c. Fix compiler warnings in
other tests.
2015-04-01 14:12:24 +01:00
Nicholas Sherlock dce873434b Use SERIAL_PORT_NONE identifier to mark ports which are unavailable 2015-04-02 01:55:13 +13:00
Nicholas Sherlock 86ddf27515 Don't allow softserial ports to be opened if softserial isn't enabled 2015-04-02 00:24:28 +13:00
pinkywafer 7220365575 RPM_Motor_Stop_Bugfix
using calculateThrottleStatus, send 0 as RPM when THROTTLE_LOW and
MOTOR_STOP
2015-03-31 19:06:15 +01:00
Petr Ledvina 3faa8a200b Answer only on one SmartPort ID
Receiver polls all active IDs, then tries one inactive. Answering multiple IDs will starve other devices on bus and it will increase probability of address collision.
With 1 active address poll interval is ~24ms
2015-03-31 15:01:36 +02:00
Petr Ledvina 7f3f53d880 Enable telemetry on SPARKY 2015-03-31 15:01:35 +02:00
Petr Ledvina 4c60f6c795 Fix 303 serial inversion and bidir mode
- USART_HalfDuplexCmd must be called only when USART is disabled
- input should be PullDown for inverted serial
- INVERTED BIDIR mode changed to GPIO_OType_PP (not opendrain) - opendrain won't work well for inverted serial; USART releases pin when transmission is done, so PP is OK
2015-03-31 15:01:28 +02:00
Per Magnus Auby b83b9040f9 Updates sonar so that it can be used together with ADC current meter
Check if ADC current meter is enabled in sonarInit() and change
sonar pins to pwm 5 and 6 if it is. Same as when RX_PARALLEL is enabled.
2015-03-31 13:47:17 +02:00
Dominic Clifton 6e8d081c45 Updating Sparky board with a note regarding LED color differences
between Rev 1 & 2 boards.
2015-03-30 22:03:10 +01:00
Dominic Clifton 766b890896 Remove duplicate defines from SPRacingF3 target.h 2015-03-30 21:32:36 +01:00
Dominic Clifton d33e4e6afd Merge branch 'Battery_monitoring' of git://github.com/MJ666/cleanflight into MJ666-Battery_monitoring 2015-03-30 19:44:33 +01:00
Dominic Clifton 80a6507649 Merge branch 'VCM_motor_stop_fix' of git://github.com/pinkywafer/cleanflight into pinkywafer-VCM_motor_stop_fix 2015-03-30 19:29:40 +01:00
Dominic Clifton 6922857db0 Merge pull request #683 from sherlockflight/flash-N25Q064
Add support for Micron N25Q064 64Mbit SPI flash
2015-03-30 11:35:42 +01:00
Dominic Clifton 20fd7b8491 Merge pull request #565 from mosh1/new_failsafe_defaults
Default failsafe enabled and throttle off when no valid PPM signal is se...
2015-03-30 11:15:25 +01:00
Nicholas Sherlock 7940ac2030 Blackbox: Don't log amperageADC when current meter is virtual
Closes #685
2015-03-30 20:34:36 +13:00
Nicholas Sherlock 85dc16f96d Add support for Micron N25Q064 64-mbit SPI flash 2015-03-30 18:17:56 +13:00
Nicholas Sherlock 01b811cd8c Add support for Winbond 64Mbit SPI flash chip 2015-03-30 12:04:41 +13:00
Dominic Clifton f24782b961 Fix duplicate MSP codes. 2015-03-29 14:23:12 +01:00
Dominic Clifton 60835923c4 Use MSP command IDs in the correct assigned range for MSP_LOOPTIME and
MSP_ARMING_CONFIG.  Rename MSP_ARM_CONFIG to MSP_ARMING_CONFIG.
2015-03-28 20:30:15 +00:00
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