Michael Hope
c9349ce83b
msp: rework the different size encoders.
...
Tidy the encoders up. Reduce the code size stacking the encoders for
different sizes.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-29 05:42:22 +02:00
Michael Hope
31f933ac21
various: mark more constant data so it goes into flash instead of RAM.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-29 05:42:08 +02:00
Nicholas Sherlock
3ddea2a849
Fix blackbox baudrate upper bound on CLI
...
Closes #960
2015-05-28 14:27:49 +12:00
Dominic Clifton
0257cb0541
CC3D - Disable SONAR support on OPBL builds due to code size.
2015-05-23 11:49:48 +01:00
Dominic Clifton
4ed6fdfea5
CC3D - Add sonar.
...
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
src/main/config/config.c
src/main/drivers/pwm_mapping.h
src/main/main.c
src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01:00
Dominic Clifton
a370d60595
Support UART3 and I2C on Paris Air Hero 32 Flex port (aka Naze32_SP).
...
This change also allows serial ports to be removed at runtime. e.g.
UART3 on Naze32 and SoftSerial 1 & 2 when softserial is not enabled.
2015-05-22 20:49:33 +01:00
Dominic Clifton
f2013ab863
Merge pull request #936 from sherlockflight/blackbox-arm-beep
...
Fix Blackbox arming beep time logging
2015-05-22 14:02:54 +01:00
Dominic Clifton
11a4622a46
Adding attributions for some of the Graupner SumH code.
2015-05-21 23:10:00 +01:00
Dominic Clifton
d9de29129e
Fix missing use of doubles instead of floats in SumH code.
2015-05-21 23:04:45 +01:00
Dominic Clifton
20a6f829d5
SPRacingF3 - Add support for airplane pwm mappings.
2015-05-21 02:02:33 +01:00
Dominic Clifton
48570502cb
Fixing missing pitch/roll rate inflight adjustment function
...
configuration settings.
2015-05-20 20:30:39 +01:00
Dominic Clifton
7a01bab50f
Constrain invalid values by using rx_min_usec and rc_max_usec. Provide
...
sensible/fix min/max settings for those settings.
This fixes erratic flight behaviour before failsafe kicks in on SBus
receivers.
An X8R SBus RX in failsafe mode outputs 880 on all channels.
See #918 and #919
2015-05-20 00:28:52 +01:00
Dominic Clifton
22bf890cf0
Allow mixer to use failsafe throttle value that is less than
...
minthrottle.
2015-05-19 23:45:27 +01:00
Dominic Clifton
d0a9d14b87
Allow CLI to be compiled out.
...
First cut, as proof-of-concept. This allows CJMCU target to be built
without CLI and with Blackbox.
2015-05-19 23:42:41 +01:00
Dominic Clifton
67c6967da7
Ensure rx signal loss detection works for parallel pwm.
2015-05-19 22:48:05 +01:00
Dominic Clifton
23303198bb
Update unit test for mixer behavior changed in
...
cc5c736362
2015-05-19 21:42:48 +01:00
Dominic Clifton
43a74f0d46
Merge pull request #917 from MJ666/yaw_jump_updates
...
Flight - Yaw jump updates
2015-05-19 21:20:48 +01:00
Dominic Clifton
cc5c736362
Fix failsafe_throttle
being ignored if it was less than min_check
...
when MOTOR_STOP was enabled.
2015-05-19 21:16:24 +01:00
Dominic Clifton
53eec05809
Avoid updating in-flight adjustments when not receiving rx data.
2015-05-19 20:44:01 +01:00
Dominic Clifton
26f2affd88
Ignore SBus end byte checking, this should improve compatibility with
...
some Futaba SBUS RX's that send telemetry data after SBus frames. Fixes
#590
2015-05-19 19:41:15 +01:00
Michael Jakob
42218f1ea5
The yaw_p_limit minimum is now set to 100 to prevent misconfigurations.
...
Maximum value of 500 is now removing the limit (same as for
yaw_jump_prevention_limit)
Moving defines for PID controllers to headerfiles.
Some general code cleanup.
Documentation update
2015-05-19 17:42:03 +02:00
atomiclama
713e138c42
Changed idle pulse width from fixed 1ms to that configured.
...
Stops motors, that have none standard pulse ranges, from running up
after a save or exit from cli.
2015-05-19 16:02:27 +01:00
Nicholas Sherlock
4e7b647c1e
Fix missing blackbox logging of synchronisation beep
2015-05-18 18:57:50 +12:00
Dominic Clifton
c174a52ebe
Allow independent pitch and roll in-flight PID adjustment. Fixes #149 .
2015-05-17 23:43:55 +01:00
Dominic Clifton
e57c814e2a
CJMCU - Disable cli playsound to save flash space.
2015-05-17 22:21:01 +01:00
Dominic Clifton
85acf7dc1d
Merge pull request #895 from borisbstyle/pid1-horizon
...
Fix for extreme D level term PID1 Horizon
2015-05-17 21:32:50 +01:00
Dominic Clifton
97700349b9
Merge pull request #898 from samcook/fix-fakeheading
...
Tidy up the fake lat/long heading tidyup
2015-05-17 21:30:33 +01:00
Michael Jakob
be0561c576
Not all AlienWii F3 variants have an voltage divider. Disable feature
...
VBAT by default.
2015-05-17 10:59:48 +02:00
Michael Jakob
7a3976e3a0
Set Spektrum 1024bit as default for better copatibility with entry level
...
transmitters
2015-05-17 10:57:35 +02:00
Michael Jakob
088d136c7c
Remove obsolate failsafe setting for the ALIENWII32 targets
2015-05-15 17:56:34 +02:00
borisbstyle
984eada98b
PID1 Horizon sensitivity range increased
2015-05-15 15:28:03 +02:00
Sam Cook
d6dc1f7bd8
Fix invocation of sendFakeLatLong() after 802218b77b
.
...
Fix spelling in sendFakeLatLongThatAllowsHeadingDisplay function name.
2015-05-15 12:32:03 +01:00
borisbstyle
4bdc64bff9
Fix for extreme D level term PID1 Horizon
2015-05-15 02:16:46 +02:00
Dominic Clifton
19be109189
Merge pull request #890 from ProDrone/cli_processing_mod_1
...
Some mods to CLI command interpretation and output
2015-05-14 20:10:49 +01:00
Dominic Clifton
802218b77b
Remove some logic and boolean arguments from FrSky GPS code. See
...
d58387c
PR #855
2015-05-14 20:04:52 +01:00
Dominic Clifton
d58387c44a
Merge pull request #855 from samcook/frsky-heading
...
Frsky telemetry heading without GPS
2015-05-14 20:00:21 +01:00
Dominic Clifton
cf4a552b94
Merge pull request #891 from borisbstyle/pid1-horizon
...
PID1 Horizon Mode Fixed
2015-05-14 19:31:45 +01:00
Dominic Clifton
e69e999bdc
Merge pull request #862 from borisbstyle/tpa-feature
...
PID1 and PID2 TPA Support Added
2015-05-14 19:24:10 +01:00
Dominic Clifton
77217f23a7
Merge pull request #816 from DaTwo/RSSI-Invert-Patch
...
Inverted RSSI PPM / PWM (EZUHF) CLI Option
2015-05-14 19:20:28 +01:00
Dominic Clifton
004f44108e
Merge pull request #839 from SteveAmor/MPU6050_PLL_Settling_Time
...
Added MPU6050 PLL Settling Time delay
2015-05-14 19:12:50 +01:00
borisbstyle
3c1b678a37
Fix truncation in horizonstrength calculation
2015-05-14 20:00:35 +02:00
ProDrone
6d9394d783
Optimized comment stripper code (again)
2015-05-14 19:59:36 +02:00
ProDrone
0ee67a521b
Optimized comment stripper code
2015-05-14 19:59:35 +02:00
ProDrone
1df9097e32
Added # to versionstring and strip comments
...
Prepended the version string with a # to avoid the CLI from interpreting
the version string as a command when pasting a dump file back (restore
in CLI).
Strip comments starting with `# comment` from lines. This is to allow
adding comments to CLI dumped backup files. For this i have an automated
addition of comments and/or manual comments by the user in mind.
2015-05-14 19:59:34 +02:00
Nicholas Sherlock
b739a57ea2
Fix array bounds overrun in Blackbox logging
2015-05-14 13:11:58 +12:00
borisbstyle
0b274cc6e8
PID1 Horizon Improved
2015-05-14 00:54:41 +02:00
borisbstyle
f1a490b6ba
Added PIDweight to header file
2015-05-12 23:39:51 +02:00
Nicholas Sherlock
e6a40d732d
Add logging for raw sonar data
2015-05-12 18:37:56 +12:00
Steveis
57735857b4
Corrected YAW_LOOKUP_LENGTH
2015-05-11 11:18:16 +01:00
borisbstyle
4ec28b8cce
Removed TPA from Yaw axis and Changed variable name
...
PIDscaler changed to PIDweight as it suits better and is more
understandable as it is percentage of the PID's used.
Yaw TPA is removed as I don't find it necessary after more testing
2015-05-11 09:18:05 +02:00