Randy Mackay
d9ecf51457
Copter: auto mode loiter-turns accepts pilot yaw input
5 years ago
Randy Mackay
f3989cae4c
Copter: remove unused Ch6 EKF tuning options
5 years ago
Randy Mackay
39a6b104dd
Copter: move RTLState to ModeRTL
5 years ago
Peter Barker
2296448027
Copter: make private enum class for LAND mode's state
5 years ago
Andrew Tridgell
68bb7a516b
Copter: use HarmonicNotchDynamicMode enum class
5 years ago
Peter Barker
e6c6189fe5
Copter: cope with change in namespace of LogEvent enum
...
Also move Acro Trainer types into an enum class as the global defines
interfere with the Event names.
Also eliminate the Log_Write_Event wrappers.
5 years ago
Matt Lawrence
f71ef4c7ab
Copter: Refactor failsafes, add fs_options bitmask parameter
...
- Radio failsafe, battery failsafe, GCS failsafe refactoring
- Add new FS_OPTIONS parameter
- Enhance GCS Failsafe abilities
5 years ago
Andy Piper
ac071df104
ArduCopter: add support for BLHeli telemetry-based updates to the harmonic notch
...
refactor to include RPM for all copter types
5 years ago
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
5 years ago
Randy Mackay
2cb3e446ab
Copter: systemid mode formatting and name changes
5 years ago
Leonard Hall
c11f2247eb
Copter: System ID mode
5 years ago
Peter Barker
9b398e8765
Copter: remove stale enum entries for log message types
5 years ago
Peter Barker
b4537bebd8
Copter: move control_mode_t into being Mode::Number enum class
...
Fixes this compiler error:
In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
AUTO, // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
AUTO = 3, // fully automatic waypoint control using mission commands
^
1 error generated.
5 years ago
Peter Barker
08a18d6a0a
Copter: avoid working with uninitialised home location
6 years ago
Peter Barker
85be2b0c8b
Copter: clean up flip state enumerations
...
... including a redundant definition of the states...
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
Peter Barker
c7e21d95ef
Copter: move Log_Write_Error into library
6 years ago
Peter Barker
3521d98b52
Copter: move handling Write_Event into AP_Logger
6 years ago
Randy Mackay
f24c7719ca
Copter: remove unused error code and add comments
6 years ago
Andrew Tridgell
89d54767b1
Copter: convert to use AC_AutoTune library
...
this maintains existing behaviour
6 years ago
Pierre Kancir
c50eed5e9a
Copter: log and notify when manual land repositionning is active
6 years ago
Peter Barker
33ca577653
Copter: OpticalFlow takes care of its own logging
6 years ago
Peter Barker
72440e2af3
Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set
6 years ago
Peter Barker
7e581da1cf
Copter: implement misson LOITER_TO_ALT
6 years ago
Leonard Hall
54a59f581f
Copter: add motor thrust lost check
6 years ago
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
6 years ago
Arjun Vinod
78be026d83
Copter: fixed typo
7 years ago
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
7 years ago
SergeyBokhantsev
ea3de59107
Copter: implement user auxswitch functions
7 years ago
Peter Barker
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
7 years ago
Peter Barker
db60e93716
Copter: correct comment on deprecated switch option
7 years ago
Peter Barker
948b90ed97
Copter: rename roi_WP to just roi
...
A Vector3f is not a waypoint.
This should really be "Point Of Interest" rather than "Region Of
Interest"
7 years ago
Peter Barker
ba8b3e2415
Copter: create an AutoYaw helper object to hold auto-yaw state
7 years ago
Peter Barker
80549a479e
Copter: move throw logging into ModeThrow
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Randy Mackay
4a74b1b5e5
Copter: replace NTUN with PSC logging
7 years ago
Leonard Hall
9544b1763b
Copter: replace smoothing gain with AC_AttitudeControl::set_input_tc
7 years ago
Ebin
b8a307cdd0
Copter: Changed log message IDs to enum
...
Changes log message IDs to enum, removes values in LoggingParameters enum
and removes deprecated params in LogParameters.
7 years ago
Randy Mackay
6ee101ca98
Copter: rename chase to follow
7 years ago
Peter Barker
199455dc56
Copter: add chase mode
7 years ago
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
7 years ago
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
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
Pierre Kancir
10e6fe43dd
Copter: Add a switch option to enable/disable RC_Override
7 years ago
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
928bc19cee
Copter: Use DEGX100 define instead of hardcoded value (NFC)
7 years ago
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
7 years ago
Andrew Tridgell
951ed95eb9
Copter: support inverted flight CH7 option
7 years ago
Randy Mackay
44a436642b
Copter: complete rename to SmartRTL
...
Also fix parameter description for CH7_OPT
8 years ago
Michael du Breuil
ffc2aeee32
Copter: Support landing flight termination
8 years ago