Randy Mackay
dc3ded234b
Copter: FS_GCS_ENABLE param desc replaces deprecated with removed
...
Also modified FS_THR_ENABLE param desc replaces deprecated with removed
2020-12-09 19:30:48 +09:00
Peter Barker
76e5ae9b41
Copter: move mavlink set-position defines into mavlink library
2020-08-11 09:52:52 +09:00
Randy Mackay
925f76c048
Copter: integrate winch changes
...
includes the following changes
winch_update called at 50hz
removed ability to set winch rate from ch6 tuning
remove wheel encoder
call winch library to log at 10hz
fix winch param prefix
2020-08-07 21:55:07 +09:00
Randy Mackay
30c8d7bf40
Copter: dev option so set-attitude-target thrust field used as thrust
2020-08-01 08:32:23 +09:00
Andy Piper
8d2f2443a2
Copter: add air mode aux function
2020-06-16 20:30:26 +10:00
Randy Mackay
d9ecf51457
Copter: auto mode loiter-turns accepts pilot yaw input
2020-04-27 09:39:46 +09:00
Randy Mackay
f3989cae4c
Copter: remove unused Ch6 EKF tuning options
2020-04-22 10:34:18 +09:00
Randy Mackay
39a6b104dd
Copter: move RTLState to ModeRTL
2019-12-17 20:02:01 +09:00
Peter Barker
2296448027
Copter: make private enum class for LAND mode's state
2019-12-03 07:38:22 +08:00
Andrew Tridgell
68bb7a516b
Copter: use HarmonicNotchDynamicMode enum class
2019-11-19 07:08:01 +08:00
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.
2019-11-05 08:19:26 +08:00
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
2019-11-03 07:07:34 +08:00
Andy Piper
ac071df104
ArduCopter: add support for BLHeli telemetry-based updates to the harmonic notch
...
refactor to include RPM for all copter types
2019-10-31 11:18:40 +08:00
Michael du Breuil
b42b1c08c4
Copter: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Randy Mackay
2cb3e446ab
Copter: systemid mode formatting and name changes
2019-10-16 08:17:09 +09:00
Leonard Hall
c11f2247eb
Copter: System ID mode
2019-10-16 08:17:09 +09:00
Peter Barker
9b398e8765
Copter: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
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.
2019-09-13 13:12:08 +09:00
Peter Barker
08a18d6a0a
Copter: avoid working with uninitialised home location
2019-05-29 09:04:37 +09:00
Peter Barker
85be2b0c8b
Copter: clean up flip state enumerations
...
... including a redundant definition of the states...
2019-04-08 14:24:19 +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
c7e21d95ef
Copter: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
3521d98b52
Copter: move handling Write_Event into AP_Logger
2019-02-04 09:30:07 +09:00
Randy Mackay
f24c7719ca
Copter: remove unused error code and add comments
2019-01-08 19:42:32 +09:00
Andrew Tridgell
89d54767b1
Copter: convert to use AC_AutoTune library
...
this maintains existing behaviour
2018-12-18 10:34:42 +09:00
Pierre Kancir
c50eed5e9a
Copter: log and notify when manual land repositionning is active
2018-11-13 10:14:54 +09:00
Peter Barker
33ca577653
Copter: OpticalFlow takes care of its own logging
2018-11-13 10:40:23 +11:00
Peter Barker
72440e2af3
Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set
2018-11-06 11:26:38 +09:00
Peter Barker
7e581da1cf
Copter: implement misson LOITER_TO_ALT
2018-10-30 17:50:46 +09:00
Leonard Hall
54a59f581f
Copter: add motor thrust lost check
2018-10-16 00:44:50 +09:00
CAO MUQING
71beab7502
Copter: create and update Zigzag flight mode
2018-10-05 10:05:45 +09:00
Arjun Vinod
78be026d83
Copter: fixed typo
2018-08-29 09:36:58 +09:00
Peter Barker
e7e56dde7a
Copter: move handling of RC switches into RC_Channel
2018-08-01 12:11:30 +09:00
SergeyBokhantsev
ea3de59107
Copter: implement user auxswitch functions
2018-07-26 20:27:49 +09:00
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
2018-06-15 08:01:22 +10:00
Peter Barker
db60e93716
Copter: correct comment on deprecated switch option
2018-06-01 15:01:46 +09:00
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"
2018-04-18 13:27:43 +09:00
Peter Barker
ba8b3e2415
Copter: create an AutoYaw helper object to hold auto-yaw state
2018-04-18 13:27:43 +09:00
Peter Barker
80549a479e
Copter: move throw logging into ModeThrow
2018-04-17 17:16:52 +09:00
Michael du Breuil
291531e056
Copter: Support new battery failsafes
2018-03-27 22:12:21 +01:00
Randy Mackay
4a74b1b5e5
Copter: replace NTUN with PSC logging
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
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.
2018-03-14 09:33:39 +09:00
Randy Mackay
6ee101ca98
Copter: rename chase to follow
2018-03-05 15:08:08 +09:00
Peter Barker
199455dc56
Copter: add chase mode
2018-03-05 15:08:08 +09:00
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
2018-02-13 17:15:05 +11:00
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
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
Pierre Kancir
10e6fe43dd
Copter: Add a switch option to enable/disable RC_Override
2018-01-24 21:37:41 +09:00
Dylan Herman
20fe5bb98f
Copter: add SmartRTL failsafe action
...
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
2018-01-22 10:54:28 +09:00