Commit Graph

2422 Commits

Author SHA1 Message Date
Dominic Clifton 4154afcb63 Adding a unit test for quad X motor mixers. 2015-03-21 11:30:03 +01:00
Nicholas Sherlock 23908f9dd4 Add building instructions for Mac OS X 2015-03-21 19:12:47 +13: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
Mark Williams 8b3a5dbb73 Put CLI commands in code blocks so they appear in the markdown correctly 2015-03-19 21:17:56 +00:00
Dominic Clifton 80283ab19e Merge pull request #649 from mtrl/master
Typo fix for rate export commands in cli.md
2015-03-19 22:07:12 +01:00
Mark Williams a94d73ad3b Typo fix for rate export commands in cli.md 2015-03-19 20:50:30 +00:00
Miha Valencic aedb666909 References cleanflight/cleanflight#631 - added feature FAILSAFE and spellchecked 2015-03-19 09:47: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
Petr Ledvina e15322868e Augment/improve PID Internals 2015-03-18 19:51:25 +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
Administrator 934adfc613 Merge remote-tracking branch 'cleanflight/master' into docs 2015-03-15 19:55:13 -04: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 001cd74add Merge pull request #626 from tracernz/patch-1
Add note on passthrough mode
2015-03-15 08:42:15 +01:00
tracernz 0f3c4afcc4 Add note on passthrough mode 2015-03-15 17:11:49 +13:00
Administrator f6ef4273b4 Markdown touchups 2015-03-14 23:50:32 -04:00
Administrator 4baec3eed2 Wrap ASCII board in code block to correct display formatting 2015-03-14 23:46:51 -04:00
Administrator 1747f621d4 Better formatting and more verbose 2015-03-14 23:31:34 -04:00
Administrator c38611191d Add 5V pad warning, and configurator setting. 2015-03-14 23:21:05 -04:00
Administrator ae83189085 Board recovery documentation. 2015-03-14 21:34:34 -04: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 0e2356bf00 Updating failsafe documentation. 2015-03-14 22:14:39 +01:00
Dominic Clifton 0b99a2e791 Merge pull request #611 from dascons/patch-2
Update CONTRIBUTING.md
2015-03-14 21:21:16 +01:00
Dominic Clifton 9b092a841b Merge pull request #621 from OpCode1300/docs
GPS support and hardware split
2015-03-14 21:20:51 +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 ecc6645783 CC3D - Adding instructions on how to restore the OpenPilot bootloader
via JLink.
2015-03-13 23:06:27 +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
Dominic Clifton 3b77626dd8 Only enable VBat ADC when VBat feature is enabled.
Fixes #612
2015-03-13 22:28:10 +01:00
Administrator 028d616169 GPS support and hardware split
Moved supported hardware to new doc. Added support for Ublox Neo-M8N
2015-03-13 14:06:20 -04:00
Dominic Clifton 8fcffa1454 Merge pull request #616 from ledvinap/fix-small-angle
Fix small_angle type to match CLI
2015-03-13 13:52:06 +01:00
Petr Ledvina 59df4e502b Fix small_angle type to match CLI
int8_t small_angle prevents using angles>128deg (and thus disabling it with small_angle=180)
2015-03-12 15:25:30 +01:00