Skip to content

Conversation

@julianoes
Copy link
Collaborator

The description did not match the implementation of QGC, ArduCopter, and PX4, so I'm suggesting to change it.

This matches the general frames NED and FRD being used, where positive yaw is to the right and negative to the left.

@auturgy and @peterbarker

This came up in mavlink/MAVSDK#2564.

The description did not match the implementation of QGC, ArduCopter, and
PX4, so I'm suggesting to change it.

This matches the general frames NED and FRD being used, where positive
yaw is to the right and negative to the left.
<field type="int16_t" name="x" minValue="-1000" maxValue="1000" invalid="INT16_MAX">X-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to forward(1000)-backward(-1000) movement on a joystick and the pitch of a vehicle.</field>
<field type="int16_t" name="y" minValue="-1000" maxValue="1000" invalid="INT16_MAX">Y-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to left(-1000)-right(1000) movement on a joystick and the roll of a vehicle.</field>
<field type="int16_t" name="z" minValue="-1000" maxValue="1000" invalid="INT16_MAX">Z-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a separate slider movement with maximum being 1000 and minimum being -1000 on a joystick and the thrust of a vehicle. Positive values are positive thrust, negative values are negative thrust.</field>
<field type="int16_t" name="r" minValue="-1000" maxValue="1000" invalid="INT16_MAX">R-axis, normalized to the range [-1000,1000]. A value of INT16_MAX indicates that this axis is invalid. Generally corresponds to a twisting of the joystick, with clockwise being 1000 and counter-clockwise being -1000, and the yaw of a vehicle.</field>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@peterbarker This is the change made by Julian (I added min/maxValue to constrain the other fields, which hides this) a bit.

It reflects what PX4, ArduPilot, QGC and MAVSDK actually do.

Are you OK with this?

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

Thanks @julianoes (and @peterbarker for review)

@hamishwillee hamishwillee merged commit 25f843b into master Dec 17, 2025
21 checks passed
@hamishwillee hamishwillee deleted the pr-manual-control-r-inverted branch December 17, 2025 22:37
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.

4 participants