Skip to content

tools: MAVExplorer: add Attitude and Altitude tracking error graphs - #1707

Open
asikarastallion wants to merge 1 commit into
ArduPilot:masterfrom
asikarastallion:add-custom-graphs
Open

tools: MAVExplorer: add Attitude and Altitude tracking error graphs#1707
asikarastallion wants to merge 1 commit into
ArduPilot:masterfrom
asikarastallion:add-custom-graphs

Conversation

@asikarastallion

@asikarastallion asikarastallion commented Jul 23, 2026

Copy link
Copy Markdown

Adds four new preset tracking error graphs to mavgraphs.xml under the Attitude and Altitude menu hierarchies. These compute the delta between commanded and actual states directly from ATT and CTUN log messages.

Motivation:
Engineers currently overlay Desired vs. Actual traces manually to assess controller performance (settling time, overshoot, steady-state error) during aggressive or transition flight phases. These graphs surface the tracking delta as a single expression, removing the need for manual visual comparison.

Changes:

  • Attitude/Tracking Error/Roll: ATT.DesRoll - ATT.Roll
  • Attitude/Tracking Error/Pitch: ATT.DesPitch - ATT.Pitch
  • Attitude/Tracking Error/Yaw: ATT.DesYaw - ATT.Yaw
  • Altitude/Tracking Error: CTUN.DAlt - CTUN.BAlt

Verified expressions evaluate correctly against sample logs in MAVExplorer without requiring changes to the expression parser.

AI assistance disclosure: This contribution was developed with the assistance of Claude (Anthropic). I reviewed and tested the results as described above and understand the change.

Copilot AI review requested due to automatic review settings July 23, 2026 16:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants