Randy Mackay
7504237fbb
Copter: rename flight_mode.cpp to mode.cpp
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Randy Mackay
06fbe8f3a7
Copter: rename FlightMode class to Mode
...
also remove unused print_FlightMode method
7 years ago
Randy Mackay
6e9de7e609
Copter: flight_mode formatting changes
...
non-functional change
7 years ago
Randy Mackay
0ac708b5a0
Copter: remove ability to disable PosHold flight mode
...
This flight mode is stable and regularly used so it is unlikely that we ever want to disable it
7 years ago
Peter Barker
103e2cc711
Copter: calculate wp bearing and distance on demand
...
Move responsibility for calculating wp bearing/distance
into the FlightMode object doing the navigation
Calculating these variables was being done at 50Hz where they
were used at 10Hz max.
7 years ago
Peter Barker
4ae2be55aa
Copter: fix up autotune namespacing
...
This moves static variables into the autotune flightmode object.
It also adjusts namespacing on everything to take advantage of
having everything encapsulated in the AutoTune object
7 years ago
Peter Barker
7b637334f4
Copter: eliminate mode_has_manual_throttle
7 years ago
Peter Barker
4fd61ed6dc
Copter: make exit_mode take FlightMode objects as arguments
7 years ago
Peter Barker
83d0a71e10
Copter: FlightMode - simplify flight mode initialization
7 years ago
Peter Barker
ef1489e87a
Copter: eliminate mode_requires_gps
7 years ago
Peter Barker
a4859e13c1
Copter: eliminate mode_allows_arming
7 years ago
Peter Barker
9c60c1de58
Copter: FlightMode - convert SMARTRTL flight mode
7 years ago
Peter Barker
b0e34bd307
Copter: FlightMode - convert GUIDED_NOGPS flight mode
7 years ago
Peter Barker
cf423ce681
Copter: FlightMode - convert THROW flight mode
7 years ago
Peter Barker
37c706c24e
Copter: FlightMode - convert AVOID_ADSB flight mode
7 years ago
Peter Barker
51cd143012
Copter: FlightMode - convert BRAKE flight mode
7 years ago
Peter Barker
cafce01357
Copter: FlightMode - convert POSHOLD flight mode
7 years ago
Peter Barker
67063d6b1e
Copter: FlightMode - convert AUTOTUNE flight mode
7 years ago
Peter Barker
018c70d224
Copter: FlightMode - convert FLIP flight mode
7 years ago
Peter Barker
5e3e831152
Copter: FlightMode - convert SPORT flight mode
7 years ago
Peter Barker
6a38664ff4
Copter: FlightMode - convert DRIFT flight mode
7 years ago
Peter Barker
682f3c0e7e
Copter: FlightMode - convert RTL flight mode
7 years ago
Peter Barker
3b1ca99b95
Copter: FlightMode - convert LAND flight mode
7 years ago
Peter Barker
2db09ba0f7
Copter: FlightMode - convert GUIDED flight mode
7 years ago
Peter Barker
f2495b2d08
Copter: FlightMode - convert LOITER flight mode
7 years ago
Peter Barker
871ba5630f
Copter: FlightMode - convert CIRCLE flight mode
7 years ago
Peter Barker
e2b70c3a0a
Copter: FlightMode - convert AUTO flight mode
7 years ago
Peter Barker
a95a35c134
Copter: FlightMode - convert STABILIZE flight mode
7 years ago
Peter Barker
79c06974b7
Copter: FlightMode - convert ALT_HOLD flight mode
7 years ago
Peter Barker
d74f0c72da
Copter: FlightMode - convert ACRO flight mode
7 years ago
Peter Barker
527a536b78
Copter: FlightMode - remove function parameters
...
Use current control_mode in place of parameters
Once conversion is complete these functions will disappear
7 years ago
Peter Barker
99a22a263d
Copter: a FlightMode base class
7 years ago
André Kjellstrup
e7a1ceca4c
Copter: Option to trig by distance only when in AUTO mode
7 years ago
Andrew Tridgell
22bfec4d2a
Copter: fixed motor runup check for heli
...
for all auto-throttle modes we should not allow a mode change to the
mode if the motor runup is not complete.
This moves the code to the set_mode() so it applies to all modes
fixes issue #6956
7 years ago
squilter
4b57a4a231
Copter: rename SafeRTL to SmartRTL
8 years ago
Randy Mackay
8df042f00c
Copter: complete addition of SafeRTL flight mode
8 years ago
squilter
ba0e08552f
Copter: add SafeRTL flight mode
8 years ago
Peter Barker
c6b9c84d1f
Copter: remove CLI
8 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
murata
8f926bd177
Copter: Unify from print or println to printf.
8 years ago
Randy Mackay
26919b4ab6
Copter: send flight mode string to Notify
8 years ago
Randy Mackay
af514eb101
Copter: remove some comments
8 years ago
Dmitry Prokhorov
3e993f955e
ArduCopter: Support for OLED display by Alexey Kozin
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Luis Vale Gonçalves
b9e83755f3
Copter: Notify GCS that Flight mode change failed
...
Copter: Notify GCS that Flight mode change has failed
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Leonard Hall
fec24437f2
Copter: load accel throttle I term from attitude controller input
...
Previously we loaded up the I term from the pilot's input but a more reliable method is to get what was passed into the attitude controller. In particular the addition of the acro-thr-mid parameter means the pilot's input must be interpreted differently for different flight modes.
8 years ago
Randy Mackay
a124001b8b
Copter: get_pilot_desired_throttle gets thr_mid argument default
8 years ago
Leonard Hall
5c47f3f9e5
Copter: add acro throttle and yaw expo and smoother manual pilot throttle
8 years ago