borisbstyle
fda0794441
Airmode rework // Fix 3D from negative to positive // cleanup
2016-02-05 22:04:39 +01:00
borisbstyle
4b6f276d2b
Set mid_rc for throttle checks in 3D
2016-02-04 12:01:51 +01:00
borisbstyle
212017654b
Airmode overrules motor stop
2016-02-04 11:33:54 +01:00
borisbstyle
5174e96549
Revert "Replace old lowpass with BiQuad for Vbat and Servo"
...
This reverts commit 27772ba56a
.
2016-02-04 00:45:09 +01:00
borisbstyle
27772ba56a
Replace old lowpass with BiQuad for Vbat and Servo
2016-02-03 14:33:43 +01:00
borisbstyle
a1ebe6fd4f
Remove old mixer // Separate Acro Plus from Airmode // Fix MOTOLAB merge issues
2016-02-03 00:58:38 +01:00
borisbstyle
06b3f625d1
Airmode Saturation fix // Needed for some setups
2016-02-02 22:48:52 +01:00
borisbstyle
55cf3913a0
3D Airmode enhancements // Iterm Shrinking replaced to limiting
2016-01-25 12:08:33 +01:00
borisbstyle
b5dcbbed25
Airmode mixer rework // Fix stopping motors caused by 3D feature
2016-01-19 21:50:42 +01:00
borisbstyle
782482bf76
Activate Air mode in Neutral State for 3D feature
...
Fix init
2016-01-19 14:17:36 +01:00
borisbstyle
493282a274
Fix 3D Airmode Bugs
2016-01-18 23:51:35 +01:00
borisbstyle
2930260f40
Multiple 3D fixes. Motor stop / PID resolution / failsafe
2016-01-18 16:21:17 +01:00
borisbstyle
2f6eeed6f5
Fix Motor stop and 3D reverse
2016-01-18 13:13:30 +01:00
borisbstyle
f69943d095
Enable Airmode In 3D feature // Separate Mixers
2016-01-18 11:12:13 +01:00
borisbstyle
10809ba6b6
Add Mixer quad1234
2016-01-13 23:08:14 +01:00
borisbstyle
83e932d3a3
Rework maxing out motors
2015-12-16 17:27:36 +01:00
borisbstyle
fdd984bc32
Increase Allowed Error to the mixer // Fix for uncontrollable roll when one motor is cogging
2015-12-15 23:56:21 +01:00
borisbstyle
6d51ab6e53
Better Clearing when toggling inbetween modes
2015-12-09 23:16:22 +01:00
borisbstyle
9ec26626b7
Accumulation Prevention in Saturation for AIR Mode // Refactoring
...
Adjust shrink threshold for errorRatio
2015-12-09 13:33:36 +01:00
borisbstyle
763ff23ede
Further AIR MODE enhancements // Motor stop overules AIR MODE low throttle
...
reset iterm for motor stop
fix luxfloat
2015-12-07 10:16:32 +01:00
borisbstyle
400fe14e30
AIR MODE Optimalisations // Disable retarded arm
...
enable level modes
2015-12-06 23:58:18 +01:00
borisbstyle
83d186057f
AIR MODE implementation
2015-12-06 02:19:35 +01:00
borisbstyle
eafa631a32
IDLE UP switch // Remove pid_at_min_throttle
2015-12-04 16:17:44 +01:00
Konstantin Sharlaimov (DigitalEntity)
5df8ca926c
Quaternion-based DCM IMU (original code my S.Madgwick)
...
Restore binaries from merge
2015-10-22 10:45:36 +02:00
Dominic Clifton
8402f4512a
Merge pull request #1276 from sherlockflight/3d-pid-at-min-throttle
...
Add support for pid_at_min_throttle = 0 for 3D flight
2015-10-12 20:27:53 +01:00
Dominic Clifton
28aad588cb
Fix vtail mixer defaults. Closes #988
...
Previously the vtail mixer was a copy of the atail mixer which was
incorrect.
The new defaults cater for frames like the Armattan Morphling Vtail.
2015-09-05 18:03:02 +01:00
Nicholas Sherlock
be815ec070
Support pid_at_min_throttle = 0 for 3D flight
2015-09-01 01:46:44 +12:00
Dominic Clifton
5be2276b6b
First cut of custom motor and servo mixer test.
...
Note: The test is rather heavyweight, more like an integration test than
a unit test, but will allow for the underlying code to be refactored.
2015-07-17 01:05:14 -07:00
Dominic Clifton
cc06113c8f
Rename yaw_direction
to yaw_motor_direction
to avoid confusion
...
between `yaw_control_direction` and yaw servo configuration.
2015-07-13 01:54:45 +01:00
Dominic Clifton
9d4dbb4871
Merge branch 'octomixer' of https://github.com/iforce2d/cleanflight into iforce2d-octomixer
...
Conflicts:
src/main/config/config.c
2015-07-10 00:47:22 +01:00
Dominic Clifton
783a4c4bfa
Merge pull request #1066 from cleanflight/custom-servo-mixers
...
Custom servo mixers
2015-07-09 23:48:53 +01:00
Dominic Clifton
eb53855cd1
Fix CJMCU build - caused by a missed rename of mixerResetMotors to
...
mixerResetDisarmedMotors
2015-07-09 22:52:04 +01:00
Dominic Clifton
c9f5ca3faf
Deleted code specific to fixed wing that set motors to mincommand when
...
disarmed.
Ensure that servo mixes that use calculated throttle output (motor 0)
adhere to the armed/disarmed state, this is achieved by ensuring that
motor outputs, including the effects of MOTOR_STOP are calculated BEFORE
using motor 0 as an input source for the servo mixer.
2015-07-09 20:23:37 +01:00
Dominic Clifton
84773a8c91
Fix vectored thrust code, flying wing != vectored thrust.
...
vectored thrust is too generic a term. examples:
1) fixed wing with ailerons and fixed motors on each wing, yaw the plane
by changing the speeds of the motors
2) fixed wing with ailerons and single motor at rear, yaw the plane by
pivoting the motor left or right
Both of the above scenarios are possible using MIXER_CUSTOM_AIRPLANE.
In baseflight vectored thrust was added in:
e3585df3a3 (diff-2c11cf77e56a7a330caeccadfc1d8bcdR448)
then broken in:
ce0300a344 (diff-2c11cf77e56a7a330caeccadfc1d8bcdL449)
see:
https://github.com/multiwii/baseflight/blob/master/src/mixer.c#L153
https://github.com/multiwii/baseflight/blob/master/src/mixer.c#L328-L329
https://github.com/multiwii/baseflight/blob/master/src/mixer.c#L546-L555
2015-07-09 19:53:37 +01:00
Dominic Clifton
c88a33495f
Fix incorrect default flying wing servo mixer.
...
Baseflight code made both surfaces respond in the SAME direction when
using pitch OR roll.
Behaviour should be:
apply pitch causes the control surfaces move in the SAME direction.
apply roll causes the control surfaces should move in the OPPOSITE
direction.
2015-07-09 18:10:52 +01:00
Dominic Clifton
edeaf37031
Add throttle servo for internal combustion powered airplanes to default
...
airplane servo mixes.
Also corrects names for BICOPTER; BIPLANE was mistakenly used.
2015-07-08 17:17:59 +01:00
Dominic Clifton
7b91524ba2
Replace gimbal_flags with FEATURE_CHANNEL_FORWARDING and gimbal_mode.
...
Gimbals are only one use of channel forwarding, PWM video switchers and
PWM buzzers are others.
2015-07-08 16:41:29 +01:00
Dominic Clifton
4ead898f6f
Minor mixer cleanup.
2015-07-08 15:39:00 +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
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
codepox
a76d956358
Fixed a bug: in 3D mode to stop the motors, send neutral3d value to the ESCs instead of mincommand.
...
This was causing the motors to go full negative for a short time everytime I left the CLI mode tab in the Configurator GUI.
2015-07-07 18:53:11 -04:00
Chris Campbell
1a0fdead4e
Corrected default mixer values for octo flat X
2015-07-07 15:43:38 +09: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
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
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