Dominic Clifton
4ead898f6f
Minor mixer cleanup.
2015-07-08 15:39:00 +01:00
Dominic Clifton
8b727ecbf9
Fix pwm servo initialisation when using custom airplane.
2015-07-08 15:38:39 +01:00
Dominic Clifton
1431dfad7c
Allow servo rules to use stabilised controlled throttle (e.g. for I.C
...
planes).
Note: The code ported from baseflight appears broken.
2015-07-08 15:25:12 +01:00
Dominic Clifton
774a36a2d5
Avoid print smix table header multiple times.
2015-07-08 14:48:23 +01:00
Dominic Clifton
3776bb07dc
Update mixer documentation.
2015-07-08 13:59:53 +01:00
Dominic Clifton
99e0e55e17
Rename and re-order servo rule input sources
2015-07-08 13:59:52 +01:00
Dominic Clifton
7e12711763
Fix missing fixed wing throttle control.
2015-07-08 13:59:51 +01:00
Dominic Clifton
763c75873e
Use 0 based index for motor and servo mix in CLI. Update
...
MSP_SERVO_MIX_RULES, MSP_SET_SERVO_MIX_RULE, MSP_SERVO_CONFIGURATIONS,
MSP_SET_SERVO_CONFIGURATION. Delete MSP_CHANNEL_FORWARDING,
MSP_SET_CHANNEL_FORWARDING.
2015-07-08 12:54:09 +01:00
Dominic Clifton
bb0f909e83
Merge branch 'master' into custom-servo-mixers
2015-07-08 12:11:49 +01:00
Dominic Clifton
cae718559c
Merge pull request #1086 from stuphi/Manual-add_stick_diagram
...
Add a diagram of stick positions to the manual.
2015-07-07 19:06:14 +01:00
stuphi
76937d8730
Add a diagram of stick postions
2015-07-06 21:27:38 +01:00
Nicholas Sherlock
8a06849657
Improve flashfs codegen by fixing pagesize at a constant 256 bytes
2015-07-05 14:10:12 +12:00
Dominic Clifton
cfdb1bdc56
Merge pull request #1070 from nzmichaelh/usb
...
USB - Mark register accesses as volatile, fixes compilation using GCC 4.9 with LTO enabled.
2015-07-01 12:21:08 +01:00
Nicholas Sherlock
e7865eb3f0
Merge pull request #1035 from MJ666/W25Q128
...
Support for 128Mbit SPI flash
2015-07-01 11:12:05 +12:00
Michael Hope
e569a71c60
usb: add volatile in more places.
...
Fixes the remaining (and valid) warnings.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-30 22:44:11 +02:00
Michael Jakob
033e47ebc9
16Mbyte SPI flash memory support
...
Add Winbond W25Q128
Add Micron N25Q128
Fix datatype for flash gemometry
Blackbox documentation update
2015-06-30 10:09:20 +02:00
Michael Hope
ebc0f53b59
usb: mark register accesses as volatile.
...
Fixes the LTO build with GCC 4.9. Tested on the STM32F3DISCOVERY. I
assume the compiler was doing cross function optimisation, saw that
the same non-volatile address was read twice, and dropped the second
read.
Fixes #763 .
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-30 08:12:24 +02:00
Nicholas Sherlock
4f860dd6f1
Reduce standard deviation of flash logging execution time by 80%
2015-06-30 17:43:49 +12:00
Nicholas Sherlock
bf18f212d9
Merge pull request #907 from sherlockflight/blackbox-status-frame
...
Blackbox - Add logging for flight state, flight mode, and failsafe state
2015-06-30 16:04:28 +12:00
Dominic Clifton
e48e50512e
Merge pull request #1028 from borisbstyle/dterm_filter
...
Selective Software Filtering (Gyro, Dterm, Pterm)
Thanks for the code boris and thanks to everyone else for their testing and feedback
2015-06-29 16:00:49 +01:00
Dominic Clifton
7993b10ad2
Merge branch 'nzmichaelh-fixes'
2015-06-29 04:17:18 +01:00
Michael Hope
d08579dd14
common: add the missing extra headers to printf.h
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-29 04:16:49 +01:00
Michael Hope
41c0a7c262
build: use the first serial port for flashing.
...
Use wildcard to list all of the USB serial ports. Pick the first.
This is useful on my machine as the board sometimes appears as
/dev/ttyUSB1.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-06-29 04:16:47 +01:00
stuphi
66b6ca336a
Add a newline to the end of the document to help Gimli to format correctly
2015-06-29 04:16:45 +01:00
Dominic Clifton
76fc0eff13
Merge pull request #1062 from stuphi/simple_manual_fix
...
Add a newline to the end of the document to help Gimli to format corr…
2015-06-29 04:09:32 +01:00
Dominic Clifton
4695f6fb99
Merge pull request #1065 from LupinIII/f10x_hd-fix
...
correct startup_xxx.S contents for HD devices (was for MD before)
2015-06-29 04:09:12 +01:00
Dominic Clifton
45cd2671a5
Use tabs instead of spaces for servo mix table header.
2015-06-29 03:51:55 +01:00
Dominic Clifton
08afcaf536
Ensure dump uses correct command names.
...
Use shorter command names (mmix and smix) instead of longer ones
(motormix) and (mmix).
Decrease verbosity of dump command by only outputting commands to
reverse servos for servos that are reversed.
2015-06-29 03:51:05 +01:00
Petr Ledvina
68dd60b0e7
Use loop for CLI command search instead of bsearch library function, improve matching
...
Command end is now tested, `savefail` wont be recognized as command now (but `save+fail` is)
2015-06-29 03:31:16 +01:00
Dominic Clifton
b5e18a90a2
Cleanup CLI
...
* optimize for code size.
* consolidate error message handling.
* replace similar error messages with identical ones.
* shorten all strings where possible.
* made less verbose.
This was required for the CC3D OPBL build.
2015-06-29 03:30:17 +01:00
Dominic Clifton
9389239207
Removing custom mixer sanity check, it gives bad result to good mixers.
...
See #864 .
2015-06-29 00:05:13 +01:00
Dominic Clifton
66d0a0260d
Custom servo mixer fixes to build ALIENWII targets.
2015-06-28 23:52:23 +01:00
Lupin
b69ccda21e
correct startup_xxx.S contents for HD devices (was for MD before)
...
new contents as per
/lib/main/CMSIS/CM3/DeviceSupport/ST/STM32F10x/startup/gcc_ride7/startup_stm32f10x_hd.s
2015-06-29 00:16:09 +02:00
Dominic Clifton
7a1d071efb
Add support for custom tricopter mixer.
...
See #606 .
2015-06-28 23:11:47 +01:00
Dominic Clifton
ea6a6ccb3d
First cut of custom servo mixers.
...
Main rule logic and MSP commands ported from baseflight.
Gimbal mixer updated to use rules. This allows us to remove more
conditional logic. Operation of gimbal servos is now different.
2015-06-28 23:06:56 +01:00
Dominic Clifton
c142e3dfe9
Rename minLimit/maxLimit to angleAtMin and angleAtMax. Remove unneeded
...
MSP_SET_SERVO_LIMIT. Bump MSP API version. Add basic sanity checks to
MSP_SET_SERVO_CONF, reset all servos and adhere to the msp packet's data
size.
2015-06-28 12:22:14 +01:00
Mauro Mombelli
da6ee6ffb7
first extract from Tilting for Servo pull request
2015-06-28 12:06:33 +01:00
Mauro Mombelli
9277a8b7bf
fixed a parameter error in unit test
2015-06-28 12:06:32 +01:00
stuphi
dd79eda8fc
Add a newline to the end of the document to help Gimli to format correctly
2015-06-27 23:11:20 +01:00
Dominic Clifton
a9b5ad71b2
Fixing MSP_RAW_IMU. See 26e950b433
. Closes #1061 .
...
Must have been a late one.
2015-06-27 21:15:51 +01:00
borisbstyle
10f2d35759
Soft Filtering (Gyro, Dterm, Pterm)
...
pterm_cut_hz added
Let's play with this as well to get more noise filtered
Code Cleanup
Make filter more flexible for reuse
rewrite correction pterm
Define static delta in filter
Fix array count
ident
return function for filter
Filter Function enhanced
Full software filtering (DTerm, PTerm, Gyro, Acc)
Normalize Variables
Revert Back gyro settings
Bugfix gyro/acc filter // (MPU60xx equalize lpf settings)
Moved filtering to mw.c
This has been done to prevent reusing old cycletime for filter function.
acc_cut_hz removed (not needed)
Harakiri zero fix
2015-06-27 14:13:10 +02:00
Dominic Clifton
6323fd15d6
SPRacingF3 - Support spektrum bind on UART3 RX.
2015-06-26 21:55:47 +01:00
Konstantin Sharlaimov
bd6297f0cc
Switch to cleaner way of detecting a soft-reset on STM32F103 based targets using RCC->CSR register.
2015-06-26 21:55:46 +01:00
Dominic Clifton
11493cd01a
STM32F3 - Fix softserial RX.
2015-06-26 21:02:07 +01:00
Dominic Clifton
d17e89cc6b
Fix incorrect index access in old timer irq handler code.
2015-06-26 20:11:39 +01:00
Dominic Clifton
64b68cda59
Fix some indentation & tab usage.
2015-06-26 18:16:39 +01:00
Dominic Clifton
d2f878ef00
Removing unused PIDWeight variable.
2015-06-26 17:49:34 +01:00
Dominic Clifton
0608601644
Ensure that all AUX channels are forwarded to any available unused servo
...
output.
Fixes #1051 .
2015-06-26 17:22:47 +01:00
Dominic Clifton
3f97f855b5
SPRacingF3 Allow CH5-8 to be used as servo outputs (e.g. forwarding aux
...
channels)
2015-06-26 17:21:14 +01:00
Dominic Clifton
01481606e1
SPRacingF3 - Update documentation.
2015-06-26 15:30:11 +01:00