Browse Source
- 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_loitermission-4.1.18
7 changed files with 49 additions and 12 deletions
Loading…
Reference in new issue