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
Dominic Clifton
3b77626dd8
Only enable VBat ADC when VBat feature is enabled.
...
Fixes #612
2015-03-13 22:28:10 +01: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
Dominic Clifton
fce1d5a680
Bump MSP API version for recent MSP_RC_TUNING changes.
2015-03-11 22:40:10 +01:00
Jenny
40cc7697fe
Update to Virtual Current Meter fix
...
now using rc_controls/calculateThrottleStatus()
unneeded dependencies removed.
2015-03-11 20:03:25 +00:00
Dominic Clifton
f62b5c883d
Merge pull request #601 from tricopterY/tricopterY-patch-1
...
Update serial_msp.c
2015-03-11 20:15:24 +01:00
Jenny
7c2a2a1732
Merge remote-tracking branch 'upstream/master' into VCM_motor_stop_fix
2015-03-11 18:43:29 +00:00
Dominic Clifton
2c79d777bc
Merge pull request #605 from ledvinap/fix-batterytest-merge
...
Fix incorrect merge in battery_unittest
2015-03-11 08:35:06 +01:00
Nicholas Sherlock
cee021706b
Merge remote-tracking branch 'upstream/master' into blackbox-serial-baud
2015-03-11 13:31:30 +13:00
Dominic Clifton
4746b336b9
Tweak to GPS page to show when Space Vehicle updates are received via a
...
ticker next to the bargraphs which updates each time SV info is
received.
Some code-size improvements optimizations could be done.
2015-03-10 23:01:06 +00:00
Petr Ledvina
f1a0972002
Fix incorrect merge in battery_unittest
...
batteryConfig initialization was merged twice, removing one version
2015-03-10 08:32:36 +01:00
tricopterY
ced280acb9
Update serial_msp.c
...
Enhanced MSP_RC_TUNING and MSP_SET_RC_TUNING. Configurator's PID Tuning tab can be enabled to update TPA Breakpoint.
PID Tuning tab must be enhanced for this feature. Agnostic if older versions of Configurator are used.
2015-03-10 10:40:56 +11:00
Dominic Clifton
bc8e53a9d8
Rename some PID controller methods.
...
See #461 .
2015-03-09 23:26:52 +00:00