Skip to content

FBWA Rudder Mixing Logic + Motor Trim#103

Merged
SuperMK15 merged 25 commits intomainfrom
feauture/am/rudder-mixing-fix
Feb 12, 2026
Merged

FBWA Rudder Mixing Logic + Motor Trim#103
SuperMK15 merged 25 commits intomainfrom
feauture/am/rudder-mixing-fix

Conversation

@JJKSweaty
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 20, 2026 00:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds rudder mixing infrastructure and motor trim support to the attitude manager system. The changes introduce new member variables and a configuration method for rudder mixing (though the actual mixing logic is not yet implemented), and enhance the motor control output to support per-motor trim adjustments.

Changes:

  • Added rudder mixing configuration method and member variables to AttitudeManager
  • Implemented motor trim support in the motor output logic
  • Added trim field to the MotorInstance_t struct

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
zeropilot4.0/src/attitude_manager/attitude_manager.cpp Added rudder mixing variables initialization, setRudderMixing() method, and modified outputToMotor() to apply trim values
zeropilot4.0/include/driver_ifaces/motor_datatype.hpp Added trim field to MotorInstance_t struct for per-motor output adjustments
zeropilot4.0/include/attitude_manager/attitude_manager.hpp Declared setRudderMixing() method and added three private member variables for rudder mixing functionality

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

JJKSweaty and others added 5 commits January 19, 2026 19:10
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@UWARG UWARG deleted a comment from Copilot AI Jan 23, 2026
@UWARG UWARG deleted a comment from Copilot AI Jan 23, 2026
@UWARG UWARG deleted a comment from Copilot AI Jan 23, 2026
@UWARG UWARG deleted a comment from Copilot AI Jan 23, 2026
@UWARG UWARG deleted a comment from JJKSweaty Jan 23, 2026
@SuperMK15 SuperMK15 force-pushed the feauture/am/rudder-mixing-fix branch from da3b828 to 67613e5 Compare January 23, 2026 03:40
@SuperMK15 SuperMK15 force-pushed the feauture/am/rudder-mixing-fix branch from 67613e5 to ddab2b5 Compare January 23, 2026 03:41
@SuperMK15 SuperMK15 changed the title added all rudder mixing stuff into newest branch + fixed some old issues FBWA Rudder Mixing Logic + Motor Trim Feb 11, 2026
Copy link
Member

@Rosnaky Rosnaky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm nice work

@SuperMK15 SuperMK15 merged commit 72ac189 into main Feb 12, 2026
8 checks passed
@SuperMK15 SuperMK15 deleted the feauture/am/rudder-mixing-fix branch February 12, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants