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
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
Pull request #802 has by default disabled yaw jump. That is fine on the
most of the configurations, but one of my multirotors had an angled
motor due to crash and this was causing weird behaviour.
It is also possible to configure very low values, which can even cause a
craft to not be able to stop after yaw and I am talking about the values
below 100 like 1.
Anyway this fix provides only valid configurable values what can't cause
any danger. Also default parameter is not unlimited anymore and is
configured to 200, which is a safe value to anybody who does the
upgrade.
cli.md is also edited
and simply run the motors at constant minthrottle. This allowed the chance
for the quad to lose control during flight if the throttle was set to minimum,
say, to drop from a high altitude to a lower one.
With this edit, the quad will still self-level at minimum throttle when armed,
allowing for safe decents from altitude. To prevent motors spinning when
arming/disarming, the yaw input is ignored if the throttle is at minimum and
we're using the sticks to arm/disarm.
Conflicts:
src/main/flight/mixer.c