Skip to content

chore(X500): update the template#1024

Merged
amilcarlucas merged 1 commit into
masterfrom
x500
Nov 6, 2025
Merged

chore(X500): update the template#1024
amilcarlucas merged 1 commit into
masterfrom
x500

Conversation

@amilcarlucas

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 6, 2025 11:57
@amilcarlucas amilcarlucas merged commit 6455734 into master Nov 6, 2025
6 of 7 checks passed
@amilcarlucas amilcarlucas deleted the x500 branch November 6, 2025 11:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the PID tuning configuration for the Holybro X500 ArduCopter vehicle template. The changes adjust initial PID gain values and introduce new system identification parameter files for roll, pitch, and yaw axes.

  • Updated initial PID gains from 0.896x to 1.2x multiplier of defaults
  • Updated remote controller switch mappings for PID tuning workflow
  • Added three new system ID parameter files (46_a, 46_b, 46_c) for roll, pitch, and yaw
  • Updated tuning report CSV to reflect the new PID values

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
16_pid_adjustment.param Updated PID gain multipliers from 0.896x to 1.2x and added line numbers to all parameters
05_remote_controller.param Remapped RC switches: RC6 to autotune control, RC7 to quicktune trigger, RC8 to motor stop
tuning_report.csv Updated PID values and added missing line numbers for parameter entries
46_a_system_id_roll.param New file: System identification configuration for roll axis
46_b_system_id_pitch.param New file: System identification configuration for pitch axis
46_c_system_id_yaw.param New file: System identification configuration for yaw axis

LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
LOG_DISARMED,0 # was only needed for wind speed estimation
LOG_REPLAY,0 # was only needed for wind speed estimation
SID_AXIS,1 # Inject chip on the input roll signal

Copilot AI Nov 6, 2025

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'chip' to 'chirp' in comment. The term 'chirp' refers to the frequency-sweep signal used in system identification.

Suggested change
SID_AXIS,1 # Inject chip on the input roll signal
SID_AXIS,1 # Inject chirp on the input roll signal

Copilot uses AI. Check for mistakes.
LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
LOG_DISARMED,0 # was only needed for wind speed estimation
LOG_REPLAY,0 # was only needed for wind speed estimation
SID_AXIS,2 # Inject chip on the input pitch signal

Copilot AI Nov 6, 2025

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'chip' to 'chirp' in comment. The term 'chirp' refers to the frequency-sweep signal used in system identification.

Suggested change
SID_AXIS,2 # Inject chip on the input pitch signal
SID_AXIS,2 # Inject chirp on the input pitch signal

Copilot uses AI. Check for mistakes.
LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
LOG_DISARMED,0 # was only needed for wind speed estimation
LOG_REPLAY,0 # was only needed for wind speed estimation
SID_AXIS,3 # Inject chip on the input yaw signal

Copilot AI Nov 6, 2025

Copy link

Choose a reason for hiding this comment

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

Corrected spelling of 'chip' to 'chirp' in comment. The term 'chirp' refers to the frequency-sweep signal used in system identification.

Suggested change
SID_AXIS,3 # Inject chip on the input yaw signal
SID_AXIS,3 # Inject chirp on the input yaw signal

Copilot uses AI. Check for mistakes.
ATC_RAT_RLL_D,0.0036 # = 1 * (0.0036 default)
ATC_RAT_RLL_I,0.121 # = 0.896 * (0.135 default)
ATC_RAT_RLL_P,0.121 # = 0.896 * (0.135 default)
ATC_INPUT_TC,0.2 # It's a small (too fast) copter

Copilot AI Nov 6, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] The comment 'It's a small (too fast) copter' is unclear. Consider revising to explain why a larger time constant (0.2 vs 0.15) is appropriate, e.g., 'Increased time constant for smoother control response on this small, agile copter'.

Suggested change
ATC_INPUT_TC,0.2 # It's a small (too fast) copter
ATC_INPUT_TC,0.2 # Increased time constant for smoother control response on this small, agile copter

Copilot uses AI. Check for mistakes.
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