Peter Barker
b0428f0fe8
Copter: make surface_tracking a class, various functions methods
6 years ago
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
6 years ago
Randy Mackay
b7d0e4ec10
Copter: remove surface tracking shim functions
6 years ago
Randy Mackay
01909cf4c8
Copter: zigzag mode gets terrain following support
6 years ago
Randy Mackay
33a57361bd
Copter: reduce args passed to get_surface_tracking_climb_rate
...
The same arguments are always passed in
6 years ago
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
6 years ago
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
Peter Barker
fab2d59a1c
Copter: move check for position up
6 years ago
Randy Mackay
50c5ad7076
Copter: TradHelis force spool up before takeoff
6 years ago
Peter Barker
c70c946651
Copter: correct mode_zigzag compilation for ekf scalar change
6 years ago
Randy Mackay
d3f7214bcf
Copter: revamp zigzag mode
...
more accurately stops on target
uses current z target when moving to edge
loses unnecessary auto_yaw.set_mode
ensure A and B are different
6 years ago
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
6 years ago