Skip to content
  • Jochen Tuchbreiter's avatar
    Plane: Implement issue 80: counterclockwise loiter · c5f19f5d
    Jochen Tuchbreiter authored
    - libraries/AP_Common/AP_Common.h: Use bit 2 of Location.options to store
      loiter direction
    - ArduPlane/defines.h: New bitmask MASK_OPTIONS_LOITER_DIRECTION for struct
      Location bit 2
    - ArduPlane/ArduPlane.pde: New variable loiter_direction
    - ArduPlane/GCS_Mavlink.pde: For mavlink loiter-commands use sign of param3 to
      detemine direction. Set Location.option flag accordingly
    - ArduPlane/commands.pde: Make sure loiter-directions get saved into EEPROM
      correctly
    - ArduPlane/commands_logic.pde: Set loiter_direction on all loiter-actions
      as well as RTL/instant loiter
    - ArduPlane/navigation.pde: Yield loiter_direction in update_loiter
    c5f19f5d
Loading