Skip to content

Remove pitch negation in setpoint_rpyt #7

@gemenerik

Description

@gemenerik

In setpoint_rpyt, pitch is currently negated to match behavior in crazyflie-lib-python for compatibility.

// Pitch is negated for compatibility with crazyflie-lib-python
payload.append(&mut (-pitch).to_le_bytes().to_vec());

Negations like this should not exist in our stack, values should always follow the coordinate system definition consistently. If other projects use different conventions, those adjustments should happen only at the external boundary (e.g. controller driver, external client), not here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions