murata
08a1ad3c39
Copter: Change from division to multiplication
3 years ago
Josh Henderson
3107c42fca
Copter: INAV rename for neu & cm/cms
3 years ago
Josh Henderson
6b871fba55
ArduCopter: inav funcs use _xy()
3 years ago
chobitsfan
1ca471c2d1
Copter: fix PosHold LOOP_RATE_FACTOR usage
3 years ago
Leonard Hall
5d5ccc8c78
Copter: Update ACRO to use rate parameters and update expo function
3 years ago
Leonard Hall
f3dc47ce3d
Copter: Add units to the AC_AttitudeControl Library
3 years ago
Leonard Hall
5fea74d4d0
Copter: Separate landing and terrain following.
3 years ago
Leonard Hall
df9470d8af
Copter: Don't reset yaw rate when disarmed or ground idle in Heli Stab and Acro
4 years ago
Leonard Hall
a1ad194abd
Copter: seperate kinimatic shaping from pid limit setting
4 years ago
Andrew Tridgell
d89388c4cc
Copter: use cleaned up APIs
4 years ago
Leonard Hall
3b0a870504
Copter: Rename set_yaw_target_to_current_heading
4 years ago
Leonard Hall
e294991b08
Copter: Fix before squash
4 years ago
Leonard Hall
caeaf7c047
Copter: Fix take off altitude
4 years ago
Leonard Hall
4bae8f03a4
Copter: Use PosControl fixes
4 years ago
Peter Barker
e7a9e0acb4
Copter: move brake state into a structure
4 years ago
Rishabh
618282e996
Copter: Remove avoidance completly from poshold
4 years ago
murata
44a622ea7f
Copter: Set the gravitational acceleration value to the defined value
4 years ago
bnsgeyer
c75848435e
Copter: fix heli land detector and incoporate reset_I_smoothly
4 years ago
Randy Mackay
0f234583d6
Copter: poshold clears wind est when disarmed or landed
4 years ago
Randy Mackay
5b71726c73
Copter: poshold wind effect comp limited to 2/3rds of angle max
4 years ago
Peter Barker
1ffd697769
Copter: add missing fallthrough statements
5 years ago
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
Leonard Hall
c56acb49d6
Copter: Add missing Loiter initialisation lines.
...
This command is missing to define the desired acceleration that loiter will initalise to.
loiter_nav->clear_pilot_desired_acceleration();
6 years ago
Leonard Hall
0e34d8b1ff
Copter: PosHold fix for low brake_rate
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
Peter Barker
37c07e1d89
Copter: use enum class for roll/pitch mode
...
This adds some type-safety and helps distinguish between the many
defines which are used within PosHold mode
Saves about 210 bytes of flash
6 years ago
Peter Barker
e28c6b9dc6
Copter: remove redundant poshold_ prefix on PosHold methods
6 years ago
Peter Barker
f57a9f11cc
Copter: move poshold state variables into mode object
...
This was simply moving the members from the poshold struct into the
class then mechanically removing poshold. from in front of the member
access.
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
d626ea66f1
Copter: poshold loses stray set-desired-spool-state
...
spool state is all handled higher up in the poshold state switch statement
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
Patrick José Pereira
33764d6c3b
Copter: Fix typo
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
fab2d59a1c
Copter: move check for position up
6 years ago
murata
8644f4d76e
Copter: Disable option code
...
Copter: Revert change
Copter: Change mistakes
6 years ago
Peter Barker
f0ea4af514
Copter: rename get_velocity_xy to get_speed_xy
6 years ago
Randy Mackay
50c5ad7076
Copter: TradHelis force spool up before takeoff
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
Peter Barker
26ca75efae
Copter: make libraries get EKF control limits themselves
6 years ago
Michael du Breuil
7e1ed948f5
Copter: Cope with AC_PosControl renaming
6 years ago
Leonard Hall
17b61f72a3
Copter: Initialise desired acceleration before loiter init
6 years ago
Peter Barker
ff17c78c67
Copter: create Copter::Mode::_TakeOff subobject from takeoff_state
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
Randy Mackay
59e4749fd0
Copter: integrate AC_Loiter
...
includes param conversion
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