Skip to content

Flight - Offload wind compensation from navigation PIDs #12

@digitalentity

Description

@digitalentity

Given:

  1. Main goal of PH PIDs is to counteract position drift.
  2. Main source of drift is wind.
  3. Wind is mostly constant in speed and direction with occasionally gusts

Copter can use its velocity estimator to estimate tilt angles required to compensate wind the same way automatic throttle tilt compensation works. When wind compensation is uninitialised or not yet locked on required tilt angles common PosR PID will do it's job, but after wind compensation initialises, PosR PID will be required to only compensate for gusts, GPS drift, miscalibrated accelerometer and other minor causes of position drift. This will speed up the response or PosR PID and improve poshold stability.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions