Skip to content

ardupilotmega: add Rover entries to PID_TUNING_AXIS enum#482

Merged
peterbarker merged 1 commit intoArduPilot:masterfrom
peterbarker:pr-claude/rover-pid-tuning-axis
Mar 2, 2026
Merged

ardupilotmega: add Rover entries to PID_TUNING_AXIS enum#482
peterbarker merged 1 commit intoArduPilot:masterfrom
peterbarker:pr-claude/rover-pid-tuning-axis

Conversation

@peterbarker
Copy link
Copy Markdown

Rover was using raw integer literals 7-11 for vehicle-specific PID axes. Add named entries:

  • 7: PID_TUNING_WHEEL_LEFT (left wheel rate)
  • 8: PID_TUNING_WHEEL_RIGHT (right wheel rate)
  • 9: PID_TUNING_SAIL_HEEL (sailboat heel to mainsail)
  • 10: PID_TUNING_VEL_NORTH (velocity north)
  • 11: PID_TUNING_VEL_EAST (velocity east)

Rover was using raw integer literals 7-11 for vehicle-specific PID
axes. Add named entries:
- 7: PID_TUNING_WHEEL_LEFT  (left wheel rate)
- 8: PID_TUNING_WHEEL_RIGHT (right wheel rate)
- 9: PID_TUNING_SAIL_HEEL   (sailboat heel to mainsail)
- 10: PID_TUNING_VEL_NORTH  (velocity north)
- 11: PID_TUNING_VEL_EAST   (velocity east)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@IamPete1 IamPete1 left a comment

Choose a reason for hiding this comment

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

LGTM

@peterbarker peterbarker merged commit 375f640 into ArduPilot:master Mar 2, 2026
12 checks passed
@peterbarker peterbarker deleted the pr-claude/rover-pid-tuning-axis branch March 20, 2026 03:47
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