Randy Mackay
6f9a82a012
Copter: flowhold minor format fix
2021-08-14 11:05:38 +09:00
Leonard Hall
4995add509
Copter: seperate kinimatic shaping from pid limit setting
2021-07-23 10:19:48 +09:00
Leonard Hall
3b0a870504
Copter: Rename set_yaw_target_to_current_heading
2021-05-26 16:03:05 +09:00
Leonard Hall
e294991b08
Copter: Fix before squash
2021-05-24 20:13:37 +10:00
Leonard Hall
caeaf7c047
Copter: Fix take off altitude
2021-05-24 20:13:37 +10:00
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
2021-05-24 20:13:37 +10:00
Peter Barker
dc793e916f
Copter: move implementation of get_pilot_desired_yaw_rate into mode.cpp
2021-03-24 20:46:08 +11:00
Peter Barker
211a7f85b5
ArduCopter: remove separate calls to get delta-times for vel and ang
2021-03-13 11:29:29 +11:00
bnsgeyer
c75848435e
Copter: fix heli land detector and incoporate reset_I_smoothly
2020-12-21 23:33:48 -05:00
Peter Barker
afa153fb6f
Copter: remove wrapper for get_avoidance_adjusted_climbrate
...
Only the modes are interested in this - there's no point having it on
the Copter object.
2020-08-22 08:31:25 +09:00
Andrew Tridgell
2cd5519d5d
Copter: rename 2D rotation functions
...
drop the rotate prefix
2020-06-04 09:49:52 +10:00
Rishabh
3b077ec612
Copter: Added FlowHold logger documentation
2020-04-07 08:05:10 +09:00
Peter Barker
1ffd697769
Copter: add missing fallthrough statements
2020-01-15 13:55:42 +11:00
Leonard Hall
ffd838d908
Copter: Delay release of I term until take off
2019-11-09 09:40:10 +08:00
Peter Barker
b0428f0fe8
Copter: make surface_tracking a class, various functions methods
2019-08-06 14:09:09 +09:00
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.
2019-06-11 09:18:22 +09:00
Peter Barker
3c436b30f0
Copter: have takeoff.start() handle clearing i terms and setting land-complete
2019-05-15 18:24:26 +10:00
Randy Mackay
b7d0e4ec10
Copter: remove surface tracking shim functions
2019-04-19 07:45:52 +09:00
Randy Mackay
33a57361bd
Copter: reduce args passed to get_surface_tracking_climb_rate
...
The same arguments are always passed in
2019-04-19 07:45:52 +09:00
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
2019-04-14 12:18:03 +09:00
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
2019-04-08 11:26:59 +09:00
Leonard Hall
593925567b
Copter: formatting fixes
2019-04-08 09:42:21 +09:00
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
2019-04-08 09:42:21 +09:00
bnsgeyer
d949c80d54
Copter: tradheli replaces rotor_runup_complete with spool state
2019-04-08 09:42:21 +09:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
bnsgeyer
ca565675f2
Copter: Tradheli gets support for spool logic
2019-01-15 11:41:44 +09:00
Leonard Hall
2ddb3f6697
Copter: desired-ground-idle replaces spin-when-armed
2019-01-15 11:41:44 +09:00
Randy Mackay
e51d842ca5
Copter: fix flowhold param description
2018-10-30 11:05:47 +09:00
Randy Mackay
ccee1e6e2e
Copter: flowhold descending bug fix
2018-10-27 10:44:19 +09:00
Randy Mackay
69c00285bd
Copter: fix flowhold logging format
2018-10-27 10:44:19 +09:00
Randy Mackay
d7aa7fb63b
Copter: flowhold formatting fixes
2018-10-27 10:44:19 +09:00
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
2018-09-20 15:15:45 -07:00
Peter Barker
ff17c78c67
Copter: create Copter::Mode::_TakeOff subobject from takeoff_state
2018-06-26 09:11:21 +09:00
Peter Barker
7883582c65
Copter: move takeoff state into Mode class
2018-06-26 09:11:21 +09:00
Peter Barker
4e3bbe9311
Copter: move sanity check for rangefinder alt to within protected func
...
get_surface_tracking_climb_rate can do an additional check....
2018-06-06 08:33:56 +09:00
Michael du Breuil
296296ab6c
Copter: Use named float wrapper
2018-05-17 00:59:45 +01:00
Leonard Hall
8ff8364252
Copter: remove redundant takeoff_stop from flowhold
2018-03-29 08:26:42 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
58480435bb
Copter: Add missing parameter units (NFC)
2018-03-23 09:34:11 +09:00
Ebin
d8f56b3511
ArduCopter: changed signature for get_pilot_desired_lean_angles()
...
Removes first two redundant input parameters, makes fn non static, makes fn const
2018-03-19 17:51:39 +09:00
Leonard Hall
93de23e7c4
Copter: get-pilot-desired-lean-angles accepts another angle-max
2018-03-16 13:50:57 +09:00
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
2018-03-16 13:50:57 +09:00
Ebin
20995b909f
Copter: Moved get_pilot_desired_lean_angles to mode.cpp
2018-03-14 09:33:39 +09:00
Andrew Tridgell
7938bd08bb
Copter: make flowhold mode conditional
...
reduces build size on px4-v2 by 4k
2018-02-12 13:34:47 +09:00
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
2018-02-09 10:56:32 +11:00
Andrew Tridgell
763aee6b48
Copter: fixed units on flowhold brate rate
2018-02-08 17:36:33 +11:00
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
2018-02-08 17:36:33 +11:00
Andrew Tridgell
5a210a697e
Copter: fixed flowhold build
2018-02-08 17:36:33 +11:00
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
2018-02-08 17:36:33 +11:00