6DOF mixer upgrade
This MR covers the initial addition of the 6DOF mixer support into Deltaflight. This goes in conjunction with the 6DOF MR on the configurator (here) which adds support for the extra columns in the UI.
Main changes are as follows:
- Add
forward
andlateral
parameters to themotorMixer_t
struct - Update all code that uses any
motorMixer_t
to appropriately deal with the new parameters - Modify the
MSP2_COMMON_MOTOR_MIXER
andMSP2_COMMON_SET_MOTOR_MIXER
frames to send the extra parameters - Modify the
mmix
CLI command to print and store the extra parameters - Add
mixerForwardCommand
andmixerLateralCommand
as a way to command the mixer how much forward/lateral power to give (since we can't just add on torcCommand
) - Use the extra parameters in the
mixTable
function to compute the final thrust per motor - Add code to
navigation_multicopter.c
's x/y velocity controller to use forward/lateral thrust motors if available