Skip to content
  • Paul Riseborough's avatar
    AP_L1_Control: Remove potential nan errors · 9f309a2a
    Paul Riseborough authored
    If WP A and B were the same or ground speed was exactly zero, then the
    previous code would produce a nan output.  Protection against these
    two cases has been added.
    
    If WP A and B are equal, we track directly to the target waypoint
    9f309a2a
Loading