Iampete1
a72182ae97
Copter: don't pass `channel_yaw->norm_input_dz()` into `get_pilot_desired_yaw_rate`
2024-09-22 08:40:12 +09:00
Andy Piper
7d70762053
Copter: use pilot_desired_throttle rather than limit_throttle_out in stabilize and acro.
2022-09-07 17:03:03 +01:00
Andy Piper
fce1fa6752
Copter: make sure motors go through GROUND_IDLE at startup even when in air mode
2022-09-07 17:03:03 +01:00
Randy Mackay
3f96423795
Copter: add takeoff RPM check
2022-09-07 17:03:03 +01:00
Leonard Hall
5d5ccc8c78
Copter: Update ACRO to use rate parameters and update expo function
2021-09-23 20:03:53 +09:00
Leonard Hall
3b0a870504
Copter: Rename set_yaw_target_to_current_heading
2021-05-26 16:03:05 +09:00
bnsgeyer
c75848435e
Copter: fix heli land detector and incoporate reset_I_smoothly
2020-12-21 23:33:48 -05:00
Leonard Hall
ffd838d908
Copter: Delay release of I term until take off
2019-11-09 09:40:10 +08: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
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
2019-04-14 12:18:03 +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
Peter Barker
d95160b33c
Copter: move check for high-throttle on mode change up
2019-03-26 20:57:15 +11:00
Peter Barker
34d9ce27af
Copter: make get_pilot_desired_throttle a method on Mode
2019-03-26 20:57:15 +11:00
Randy Mackay
655fe660ed
Copter: remove reset of alt target in manual throttle mode
...
the target was being set to zero only for logging purposes
2018-11-21 21:41:58 +09:00
Peter Barker
5f552a6ce3
Copter: stop shadowing members of Copter
...
These references were taken to make the breaking out of Modes in Copter.
A lot of other code has already caused these sorts of things to go away,
but these particular ones seem reasonable to fix by pointing the users
at the copter object directly.
2018-10-16 10:17:12 +11: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
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
Peter Barker
114628afe4
Copter: use zero_throttle_and_relax_ac in stab, guided, acro and auto
2018-01-08 12:02:49 +00:00
Randy Mackay
c3fbf2671c
Copter: rename control_xx.cpp files to mode_xx.cpp
2017-12-12 10:39:26 +09:00