Skip to content
Snippets Groups Projects
  • Andrew Tridgell's avatar
    AHRS: fixed error_yaw reporting with 2 MAVLink connections · 071f89df
    Andrew Tridgell authored
    when a user first connects with USB, and later switches to the
    telemetry port without restarting we were getting zero for error_yaw
    in the logs, as AHRS.get_error_yaw() was being called twice.
    
    This ensures we give the last value after the counter is reset
    071f89df