Leonard Hall
ffd838d908
Copter: Delay release of I term until take off
5 years ago
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
Peter Barker
3c436b30f0
Copter: have takeoff.start() handle clearing i terms and setting land-complete
6 years ago
Randy Mackay
b7d0e4ec10
Copter: remove surface tracking shim functions
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
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
Randy Mackay
69626ba855
Copter: rename FXY logging to FHXY
...
this keeps the log messages appearing directly below the related FHLD when looking in the MP log viewer
6 years ago
Leonard Hall
593925567b
Copter: formatting fixes
6 years ago
Leonard Hall
38cc5a817f
Copter: consolidate mode state decisions
...
bnsgeyer and rmackay9 contributed to these changes
make_safe_shut_down waits for spool down before disarming
remove use of attitude_control::set_throttle_out_unstabilized to consolidate logic between multicopters and tradhelis
6 years ago
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
bnsgeyer
ca565675f2
Copter: Tradheli gets support for spool logic
6 years ago
Leonard Hall
2ddb3f6697
Copter: desired-ground-idle replaces spin-when-armed
6 years ago
Randy Mackay
e51d842ca5
Copter: fix flowhold param description
6 years ago
Randy Mackay
ccee1e6e2e
Copter: flowhold descending bug fix
6 years ago
Randy Mackay
69c00285bd
Copter: fix flowhold logging format
6 years ago
Randy Mackay
d7aa7fb63b
Copter: flowhold formatting fixes
6 years ago
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
6 years ago
Peter Barker
ff17c78c67
Copter: create Copter::Mode::_TakeOff subobject from takeoff_state
7 years ago
Peter Barker
7883582c65
Copter: move takeoff state into Mode class
7 years ago
Peter Barker
4e3bbe9311
Copter: move sanity check for rangefinder alt to within protected func
...
get_surface_tracking_climb_rate can do an additional check....
7 years ago
Michael du Breuil
296296ab6c
Copter: Use named float wrapper
7 years ago
Leonard Hall
8ff8364252
Copter: remove redundant takeoff_stop from flowhold
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
58480435bb
Copter: Add missing parameter units (NFC)
7 years ago
Ebin
d8f56b3511
ArduCopter: changed signature for get_pilot_desired_lean_angles()
...
Removes first two redundant input parameters, makes fn non static, makes fn const
7 years ago
Leonard Hall
93de23e7c4
Copter: get-pilot-desired-lean-angles accepts another angle-max
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
7 years ago
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
7 years ago
Randy Mackay
4319e37f0c
Copter: non-functional FlowHold changes
...
class declaration moved to alphabetical position in mode.h
parameter descriptions include FlowHow at beginning to help distinguished from optical flow parameters
resolved compiler warnings
7 years ago
Andrew Tridgell
763aee6b48
Copter: fixed units on flowhold brate rate
7 years ago
Andrew Tridgell
0ed75052f8
Copter: enable parameters inside mode objects
...
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
7 years ago
Andrew Tridgell
5a210a697e
Copter: fixed flowhold build
7 years ago
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
7 years ago