Commit Graph
515 Commits
Author SHA1 Message Date
Iampete1 4405a3838b Copter: WP_NAVALT_MIN only apply to takeoff 2025-07-22 09:40:07 +09:00
Iampete1 2c0c074b71 ArduCopter: move RPM lib to vehicle 2025-07-22 10:33:55 +10:00
Peter Barker c8868a9b73 ArduCopter: add and use AP_RC_TRANSMITTER_TUNING_ENABLED 2025-07-22 08:14:19 +09:00
Peter Barker 213d679d3d ArduCopter: add support for second parameter tuning RC channel 2025-07-22 08:14:19 +09:00
Peter Barker f6dde59b36 Copter: rename radio_tuning to rc_tuning_param
... and the corresponding min/max values

hopefully a clearer name
2025-07-22 08:14:19 +09:00
Peter Barker c4b091f913 Copter: rename radio_tuning to rc_tuning_param
hopefully a clearer name
2025-07-09 11:48:38 +10:00
Peter Barker 920efe94ca Copter: avoid setting of deadzone on RC tuning channel
instead set a range and retrieve value from configured range with zero dz
2025-07-08 08:23:13 +09:00
Peter Barker 831078bbc2 ArduCopter: add and use AP_ADSB_AVOIDANCE_ENABLED
this gates the "ADSB" avoidance feature used for macro-level avoidance.  It's not actually limited to ADSB as input...
2025-06-26 16:32:22 +10:00
Leonard Hall 589708df48 Copter: Names and Units 2025-06-23 15:05:55 +09:00
Leonard Hall 6bf50843ae Copter: PosHold timing fix 2025-06-18 08:48:45 +09:00
Iampete1 52363a564e Copter: add FS_EKF_ACTION report only 2025-06-03 09:49:06 +09:00
Henry Wurzburg d952f8f261 Copter:update TUNE metadata 2025-05-09 09:19:00 +09:00
topaz-244 39ac45a773 Copter: Throw mode add params for desired ascent alt after throw 2025-04-24 09:56:19 +10:00
Peter Barker 57027b27ea ArduCopter: tweak MAV parameter names 2025-04-07 10:58:41 +10:00
Peter Barker 16ddbf65dd ArduCopter: add parameter conversion for MAV parameters 2025-04-07 10:58:41 +10:00
Peter Barker a0f67ff171 ArduCopter: move telem_delay up into MAV_TELEM_DELAY 2025-04-07 10:58:41 +10:00
Peter Barker 9ff84dfa5f ArduCopter: SYSID_MYGCS and enforce move up to GCS, change to MAV_MYGCS_ENFRCE 2025-04-07 10:58:41 +10:00
Peter Barker e0d7d4ad1c ArduCopter: move streamrate parameters to GCS_MAVLINK base class 2025-04-07 10:58:41 +10:00
Peter Barker 594d78ce6f ArduCopter: create and use MAV_ parameter namespace
Move serveral parameters in
2025-04-07 10:58:41 +10:00
Andrew Tridgell b8b1b79b5a Copter: added PID logging by default
this is essential for analysing tuning logs
2025-03-18 19:06:03 +09:00
co63oc d24da9e854 ArduCopter: correct typos and mis-spellings 2025-03-03 08:47:03 +09:00
Rishabh ef3bf1c9f8 Copter: Add Loiter horizontal maximum speed to CH6 tunable param 2025-02-11 08:35:34 +09:00
Peter Barker 569386cfa5 ArduCopter: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Gone4Dirt 00e5f4001f Copter: Autorotation mode restructure and tidy 2025-01-22 18:53:44 +11:00
muramura ac09362170 Copter: fix param increment description 2025-01-13 20:33:33 +09:00
Peter Barker cef48fc432 Copter: remove misleading comments about default being conversions
despite these looking likely to be conversion information, these are actually default values embedded within the Copter::convert_pid_parameters method
2024-12-31 10:54:56 +11:00
Peter Barker e202a4128c Copter: remove stale parameter conversions
this removes stale parameter conversions.

These patches are all in the Copter-4.0.0 tag, meaning that they are all for upgrading from a version prior to that to a version prior-or-equal-to Copter-4.0.0

Past this a user running a version of ArduCopter < 4.0.0 to something >= 4.7.0 will not have smooth parameter conversions
2024-12-31 10:54:56 +11:00
Peter Barker 49020a59c9 ArduCopter: adjust for renaming of RC_Channel and GCS_MAVLink headers 2024-12-26 11:01:22 +11:00
Henry Wurzburg 7ee8893820 ArduCopter: update FS actions metadata with DO_RETURN_PATH_START 2024-12-17 09:34:49 +11:00
Andy Piper 3d43f2053f Copter: move RTDT logging to fast path
log after motor output in fast rate thread
2024-12-04 07:45:05 +11:00
Andy PiperandAndrew Tridgell f84c855dd1 Copter: run copter attitude control with separate rate thread
run motors output at rate thread loop rate
allow rate thread to be enabled/disabled at runtime for in-flight impact testing
setup the right PID notch sample rate when using the rate thread the PID notches
 run at a very different sample rate
call update_dynamic_notch_at_specified_rate() in rate thread
log RTDT messages to track rate loop performance
set dt each cycle of the rate loop thread
run rate controller on samples as soon as they are ready
detect overload conditions in both the rate loop and main loop
decimate the rate thread if the CPU appears overloaded
decimate the gyro window inside the IMU
add in gyro drift to attitude rate thread
add fixed-rate thread option
configure rate loop based on AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED
better rate loop thread decimation management
ensure fix rate attitude is enabled on arming
add rate loop timing debug
update backend filters rather than all the backends
provide more options around attitude rates
only log attitude and IMU from main loop
force trigger_groups() and reduce attitude thread priority
migrate fast rate enablement to FSTRATE_ENABLE
remove rate thread logging configuration and choose sensible logging rates
conditionally compile rate thread pieces
allow fast rate decimation to be user throttled
if target rate changes immediately jump to target rate
recover quickly from rate changes
ensure fixed rate always prints the rate on arming and is always up to date
add support for fixed rate attitude that does not change when disarmed
only push to subsystems at main loop rate
add logging and motor timing debug
correctly round gyro decimation rates
set dshot rate when changing attitude rate
fallback to higher dshot rates at lower loop rates
re-factor rate loop rate updates
log rates in systemid mode
reset target modifiers at loop rate
don't compile in support on tradheli
move rate thread into its own compilation unit
add rate loop config abstraction that allows code to be elided on non-copter builds
dynamically enable/disable rate thread correctly
add design comment for the rate thread

Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2024-12-04 07:45:05 +11:00
Peter Barker 6ee1d94ec7 Copter: reorder initialisation of member variables to make -Werror=reorder work 2024-11-13 06:40:37 +11:00
Peter Barker 2c401ccec5 Copter: rename ADVANCED_FAILSAFE to AP_COPTER_ADVANCED_FAILSAFE_ENABLED
to make integration with custom build server work
2024-11-12 12:44:34 +11:00
Henry Wurzburg 6304eb99b4 Copter: add turtle mode to flight modes metadata 2024-10-01 10:35:45 +10:00
Peter Barker 784760342d Copter: remove ENABLE/ENABLED/DISABLE/DISABLED defines 2024-09-06 11:53:09 +10:00
Peter Barker 42cf3aed97 Copter: use HAL_PARACHUTE_ENABLED in place of PARACHUTE_ENABLED 2024-08-07 18:09:23 +10:00
Peter BarkerandDavid Buzz 6dac230ccb ArduCopter: correct compilation with AP_RRSI_ENABLED false
Co-authored-by: David Buzz <davidbuzz@gmail.com>
2024-07-24 09:11:39 +10:00
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Peter Barker 180484e0a6 ArduCopter: add Copter flight option for requiring position to arm
this is not quite the same as requiring a good position to arm.
2024-06-25 11:06:10 +10:00
Peter Barker 76950b5994 ArduCopter: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Thomas Watson d5a25d7c89 Copter: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Peter Barker 4569b1ba14 ArduCopter: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Tatsuya Yamaguchi 251db3f414 Copter: change RTL_ALT_MIN from 200cm to 30cm 2024-03-12 15:47:41 +09:00
Peter Barker cb76ce534b ArduCopter: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Leonard Hall bc6d965bbc Copter: Payload Place: Change PLDP_RNG_MIN to PLDP_RNG_MAX 2024-03-06 15:16:16 +11:00
Peter Barker b913ea292b ArduCopter: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker 198f26f348 ArduCopter: remove unused old_top_element param from convert_class 2024-02-27 10:37:45 +11:00
Peter Barker 1e2fdb0ca1 ArduCopter: convert EFI cvonversion to g2_conversion entry 2024-02-27 10:37:45 +11:00
Peter Barker f2a9f1516b ArduCopter: move gripper up to AP_Vehicle
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Andy Piper 9cc194bc8a Copter: cleanup EKF failsafe units and division 2024-02-14 19:23:24 +09:00