Skip to content

[2027] Change gear ratios from output:input to input:output to match the rest of the ecosystem #8410

@qwertychouskie

Description

@qwertychouskie

I'm not sure how many places have this, but at least at https://github.com/wpilibsuite/allwpilib/blob/2027/wpimath/src/main/java/org/wpilib/math/system/plant/LinearSystemId.java#L28, output:input is used for the gearbox ratio. This is the opposite of what every vendor (AFAIK) uses (and probably many libraries as well), which leads to a situation that is confusing at best and a massive footgun at worst.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions