Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC_PrecLand: Use sensor timestamp to match inertial frame corrections #18548

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 13, 2024

  1. AC_PrecLand: Use sensor timestamp to match inertial frame corrections

    Co-authored-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>
    
    If the sensor sets the timestamp with the sensor frame then it attempts to match it against inertial frame timestamps.
    Sensor frames can have widely varying latencies so this is essential to safely correlate the attitude compensation against any given sensor reading.
    This effectively auto-detects the sensor latency and makes the PLND_LAG manual setting unnecessary.
    The only caveat is that PLND_LAG must be set large enough to hold the biggest sensor latency.
    So if used with a sensor that supports time-stamping PLND_LAG should be set to something large like 0.250 (s).
    
    - Separate out sync_frames logic, make _inertial_data_delayed class struct
    - Run forward prediction from synced frame
    amilcarlucas committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    5c965c2 View commit details
    Browse the repository at this point in the history