Skip to content

Quaternion naming conventions #11

@ssmichael1

Description

@ssmichael1

Quaternion naming convention is not ideal

qitrf2gcrf for example has the "to" frame on the right and the "from" frame on the left. This is confusing when writing code that matches the commonnly used mathematical notation.

It makes more sense to have the "from" frame on the right and the "to" frame on the left, to match the mathematical notation.

For example:
$\vec{p}_{itrf} ~~=~~ _{itrf}\mathbf{R}_{gcrf} ~~~\vec{p}_{gcrf}$

A better convention might be:
gcrf_q_itrf
although this admittedly is still unclear without additional documentation which is the to frame and which is the from frame.

  • Note: I probably picked this original naming convention since that is what MATLAB appears to use, but it is still less than idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions