Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D deltaflight
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • deltaflight
  • deltaflight
  • Merge requests
  • !3

Merged
Created Apr 20, 2021 by Dylan Jones@djones66Owner

6DOF mixer upgrade

  • Overview 7
  • Commits 6
  • Changes 10

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 and lateral parameters to the motorMixer_t struct
  • Update all code that uses any motorMixer_t to appropriately deal with the new parameters
  • Modify the MSP2_COMMON_MOTOR_MIXER and MSP2_COMMON_SET_MOTOR_MIXER frames to send the extra parameters
  • Modify the mmix CLI command to print and store the extra parameters
  • Add mixerForwardCommand and mixerLateralCommand as a way to command the mixer how much forward/lateral power to give (since we can't just add on to rcCommand)
  • 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
Edited Apr 22, 2021 by Dylan Jones
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 6dof-mixer-upgrade