Skip to content

Rewrite the CF2 coordinate system explanation#266

Open
gemenerik wants to merge 1 commit into
masterfrom
docs/cf2-coordinate-system-rewrite
Open

Rewrite the CF2 coordinate system explanation#266
gemenerik wants to merge 1 commit into
masterfrom
docs/cf2-coordinate-system-rewrite

Conversation

@gemenerik

Copy link
Copy Markdown
Member

The page claimed the global frame is ENU. There is no compass, so global X is not East: it is set by the positioning system's calibration, or by the drone's heading at initialization. Replace the ENU claim with how each frame is actually established, and describe the body frame directly.

Spell out the roll/pitch/yaw sign conventions with a physical consequence for each, and document that attitude.pitch has the opposite sign to the pitch encoded in the estimator's quaternion (kalman_core.c negates it on report, sensfusion6.c does the same). Converting between the two in either direction requires negating the pitch.

The page claimed the global frame is ENU. There is no compass, so global X
is not East: it is set by the positioning system's calibration, or by the
drone's heading at initialization. Replace the ENU claim with how each
frame is actually established, and describe the body frame directly.

Spell out the roll/pitch/yaw sign conventions with a physical consequence
for each, and document that attitude.pitch has the opposite sign to the
pitch encoded in the estimator's quaternion (kalman_core.c negates it on
report, sensfusion6.c does the same). Converting between the two in either
direction requires negating the pitch.
@gemenerik gemenerik requested review from ArisMorgens and enyanil July 10, 2026 12:54
@gemenerik gemenerik self-assigned this Jul 10, 2026
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.

1 participant