Commit Graph

7583 Commits

Author SHA1 Message Date
Michael du Breuil d42a3ee971 Copter: Support not sending a status text on state change 2023-10-25 09:39:51 -07:00
Peter Barker ca3b5a860a ArduCopter: handle MAV_CMD_NAV_TAKEOFF via command_long and command_in 2023-10-24 12:59:19 +11:00
Iampete1 8018d30cc7 Copter: 4.4.2 stable release notes 2023-10-22 21:52:08 +01:00
Peter Barker cc799d3d7e Copter: encapsulate auto takeoff into an ojbect
similar to the encapsulation of "user takeoff" into an object
2023-10-18 13:47:11 +11:00
Randy Mackay 5f242795ea Copter: update 4.4.2-beta1 release notes 2023-10-13 16:32:11 +09:00
Randy Mackay 7a5e130268 Copter: 4.4.2-beta1 release notes 2023-10-13 16:32:07 +09:00
Mykhailo Kuznietsov 3a231f8b32 ArduCopter: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker 521d21765e ArduCopter: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Rhys Mainwaring b585d61809 Copter: remove duplicate friend declaration
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-09 09:05:19 +09:00
muramura 5ce731fa00 Copter: Two processes in one 2023-10-04 19:23:29 +11:00
Peter Barker cd92e301ab ArduCopter: don't send fence_status mavlink message if fence not compiled in 2023-10-04 19:13:23 +11:00
Peter Barker ef1952e1c0 Copter: acccept DO_LAND_START as both int and long 2023-09-29 13:55:32 +10:00
Peter Barker d54d9ae922 ArduCopter: accept several mode-changing commands via command_int
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker a0ca3ffb22 ArduCopter: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int 2023-09-27 11:27:45 -07:00
muramura d36667c84a Copter: Change to ternary operator 2023-09-27 08:12:01 +10:00
Randy Mackay 28e5ea152e Copter: 4.4.1 release notes 2023-09-26 12:37:42 +09:00
Peter Barker efc2c39c96 ArduCopter: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Peter Barker ad9a36c157 Copter: allow MAV_CMD_CONDITION_YAW to be run as COMMAND_INT 2023-09-26 11:35:55 +10:00
Peter Barker c61022f596 Copter: handle DO_CHANGE_SPEED as both COMMAND_LONG and COMMAND_INT 2023-09-20 15:44:38 +10:00
Peter Barker b3dd5c20c5 Copter: handle MISSION_START as both COMMAND_LONG and COMMAND_INT 2023-09-20 09:39:31 +10:00
Peter Barker 624cfc8fcc ArduCopter: handle MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN as INT or LONG 2023-09-19 11:16:10 +10:00
Peter Barker 4c6918afea ArduCopter: handle DO_PARACHUTE as both command_long and command_int 2023-09-19 11:14:29 +10:00
Randy Mackay b407591663 Copter: 4.4.1-beta2 release notes 2023-09-14 16:24:18 +09:00
Peter Barker 5e9c2a04d0 Copter: allow motor tests to be triggered with COMMAND_INT 2023-09-13 18:14:31 +10:00
Peter Barker 619b1ecd47 ArduCopter: support preflight calibration via command_int 2023-09-13 17:24:07 +10:00
rishabsingh3003 8a1fa0e096 Copter: Allow fast descend while Prec Landing 2023-09-13 11:49:16 +10:00
Peter Barker 38ba5da09b Copter: allow winch commands to be run as both COMMAND_LONG and COMMAND_INT 2023-09-12 09:30:27 +10:00
Peter Barker 0b225a825c ArduCopter: use AHRS to get Locations from origin-offset 2023-09-12 09:29:26 +10:00
Ep Pravitra 9700e65d19 AP_AdvancedFailsafe: option to automatically set mode to auto when datalink is loss
When enabled, it ensures vehicle enters AUTO even if it is currently in other autonomous modes (for example Guided)
2023-09-12 09:09:39 +10:00
Peter Barker 26b7092c1a ArduCopter: correct logging when rally disabled 2023-09-05 22:23:51 +10:00
Randy Mackay 4ce65bb3f7 Copter: 4.4.1-beta1 release notes 2023-09-05 19:51:35 +09:00
Peter Barker 496e6b18ff Copter: accept solo buttons as both long and int 2023-09-05 09:58:53 +10:00
Peter Barker b725a632d6 ArduCopter: allow MAV_CMD_SOLO_BTN_PAUSE_CLICK as COMMAND_INT 2023-08-29 11:14:05 +10:00
Peter Barker e922d7e3bd ArduCopter: accept mount commands as command_int 2023-08-24 22:07:12 +10:00
Randy Mackay c2be0a5767 Copter: 4.3.8 release notes 2023-08-24 20:28:28 +09:00
Andrew Tridgell b3954afe52 Copter: add friend for AP_ExternalControl_Copter 2023-08-24 07:46:06 +10:00
muramura 79a59d2739 Copter: The preprocessor determines whether rangefinder initialization is possible 2023-08-23 22:31:15 +10:00
muramura 6820e96ca8 Copter: Change from fast_loop method to FAST_TASK(NFC) 2023-08-23 19:24:01 +09:00
Andrew Tridgell c452325de2 Copter: added AP_ExternalControl support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Peter Barker 57eeda0439 ArduCopter: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Randy Mackay 7d264f1700 Copter: 4.4.0 release notes 2023-08-18 17:37:15 +09:00
Randy Mackay f3e56cc7a0 Copter: 4.3.8-beta1 release notes 2023-08-16 10:03:23 +09:00
Randy Mackay 01387335a9 Copter: 4.3.7 release notes fix 2023-08-16 10:03:16 +09:00
Shiv Tyagi 1c38be93c5 Copter: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Andy Piper 49bdf7a295 Copter: rename dshot define 2023-08-15 06:53:48 +10:00
bugobliterator 73aed28be7 ArduCopter: use HAL_ENABLE_DSHOT instead of DISABLE_DSHOT 2023-08-15 06:53:48 +10:00
bugobliterator 6d4b5cfc1b Copter: use DISABLE_DSHOT value instead of if defined 2023-08-15 06:53:48 +10:00
Randy Mackay 495c8c25ac Copter: 4.4.0-beta4 release notes 2023-08-14 08:51:35 +09:00
muramura 8f13826383 Copter: Remove code that will never be executed 2023-08-11 12:46:06 -07:00
arshPratap 5f17e33b39 AP_Arming: Added DDS Method for Arming/Disarming 2023-08-11 13:35:49 +10:00
Peter Barker 3fd0886574 Copter: rely on magic COMMAND_INT transform for MAV_CMD_DO_PAUSE_CONTINUE 2023-08-09 07:44:44 +10:00
Peter Barker 201e276f00 ArduCopter: avoid use of MINIMIZE_FEATURES define in Copter directory 2023-08-08 10:35:19 +10:00
Randy Mackay 8499a6bd78 Copter: 4.4.0-beta4 release notes 2023-08-01 20:01:32 +09:00
Peter Barker d41e677c08 Copter: correct return error return codes for DO_FOLLOW
in the case it wasn't compiled in the return code would be correct.

in the case that the parameter was invalid we would return UNSUPPORTED , which is wrong, it should be DENIED
2023-08-01 10:43:34 +10:00
Peter Barker a79a8ca659 ArduCopter: rely on conversion from long to int for DO_FOLLOW
we have code which tries to handle commands coming in as command long as command int.

Change to rely on that code working, rather than handling both command-long and command-int variants
2023-08-01 10:43:34 +10:00
Iampete1 d927af03e9 Copter: remove heli motors param checks, moved to motors arming check 2023-08-01 09:12:51 +09:00
Iampete1 40414499fd Copter: AP_Arming: print multiple failures at once. 2023-08-01 09:12:51 +09:00
muramura d9492c1c6c Copter: Change RATE (NFC) 2023-07-31 17:18:21 +09:00
Randy Mackay 9d2e9b37c8 Copter: log MNT at 10hz 2023-07-26 17:33:18 +10:00
Iampete1 0de7544650 Copter: SURFTRAK_MODE: mark as reboot required 2023-07-26 11:31:05 +09:00
Andy Piper baae1b7732 Copter: squash bitwise & warnings 2023-07-13 11:02:40 +10:00
Andrew Tridgell 105b7a6163 ArduCopter: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Randy Mackay e84cd0cad8 Copter: update 4.4.0-beta3 release notes 2023-07-04 15:15:36 +09:00
Tom Pittenger a88c3a08b0 Copter: is_landing/is_taking_off not to req scripting 2023-07-03 22:44:00 -07:00
Randy Mackay 4af22db6c2 Copter: update 4.4.0-beta3 release notes 2023-07-04 12:44:45 +09:00
Randy Mackay a11033a67d Copter: 4.4.0-beta3 release notes 2023-07-04 12:44:37 +09:00
Henry Wurzburg d0a0fd730c ArduCopter: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Iampete1 678017c577 Copter: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Iampete1 717f82f104 Copter: check with motors if motor test is allowed 2023-06-27 10:24:15 +10:00
Andrew Tridgell ab07a2ecf3 Copter: moved MAV_CMD_AIRFRAME_CONFIGURATION to common code 2023-06-21 17:38:28 +10:00
muramura b153a90430 Copter: Note that this process is for SOLO 2023-06-20 11:10:26 +10:00
Peter Barker cd8a699675 ArduCopter: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
bugobliterator 1242054cbb ArduCopter: move sysid_my_gcs to be public 2023-06-17 14:49:22 +10:00
Tatsuya Yamaguchi 30318b51f9 Copter: remove has_user_takeoff from ModeAuto class 2023-06-17 14:41:39 +10:00
Tatsuya Yamaguchi 10c3a70072 Copter: add has_user_takeoff in ZigZag mode 2023-06-14 13:28:41 +10:00
Randy Mackay f7149ed138 Copter: update 4.4.0-beta2 release notes 2023-06-08 10:07:12 +09:00
Randy Mackay 775281397b Copter: 4.4.0-beta2 release notes 2023-06-08 10:07:07 +09:00
Randy Mackay 388e54458c Copter: 4.3.7 release notes 2023-06-03 11:31:39 +09:00
Asif Khan edf9fbdb60 ArduCopter: support for Mount following the lead vehicle in follow mode 2023-05-26 11:10:35 -07:00
Tatsuya Yamaguchi fdac668782 Copter: implement is_landing and is_taking_off for use by lua 2023-05-26 10:59:09 -07:00
Randy Mackay 2c675246c9 Copter: 4.3.7-beta1 release notes
# Conflicts:
#	ArduCopter/ReleaseNotes.txt
2023-05-25 11:24:21 +09:00
Peter Barker 078debb893 ArduCopter: use enum class for mount type 2023-05-25 09:54:43 +10:00
Peter Barker aa5a882de8 Copter: protect against bad vels/accels being sent through in guided mode 2023-05-25 09:42:28 +10:00
Tatsuya Yamaguchi 6b40fd11d6 Copter: Add GCS Failsafe Brake option 2023-05-20 17:28:54 +10:00
Peter Barker 6c5c88061f ArduCopter: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Randy Mackay dec9584e5e Copter: handle_command_mount override accepts msg
mavlink msg required to extra caller's sysid/compid
2023-05-17 12:38:49 +10:00
Asif Khan 27d96eb64e AP_Mount: Support for pointing mount to circle center 2023-05-08 10:48:20 +10:00
Michael du Breuil 04b16d1a79 Copter: Support checking max rpm in the takeoff check 2023-05-02 10:23:55 +10:00
Randy Mackay 2ded167bc7 Copter: version to 4.5.0-dev 2023-04-26 17:45:52 +10:00
Randy Mackay 00e1f1d6f5 Copter: 4.4.0-beta1 release notes update 2023-04-21 08:56:09 +09:00
Randy Mackay 16e9d183f1 Copter: update 4.4.0-beta1 release notes based on peer feedback 2023-04-21 08:56:02 +09:00
Randy Mackay 75874e3290 Copter: 4.4.0-beta1 release notes 2023-04-21 08:55:56 +09:00
Peter Barker f33e5e7847 ArduCopter: allow Copter to emit MISSION_STATE_PAUSED when paused in auto 2023-04-21 09:49:55 +10:00
Randy Mackay 0d43a2bec4 Copter: RTL accepts do-change-speed commands 2023-04-20 21:39:57 +10:00
Iampete1 be275e2cac Copter: use new motors thrust linrisation, don't send air density ratio 2023-04-18 09:32:22 +10:00
Peter Barker 96fa96936b ArduCopter: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker 3eae095966 ArduCopter: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00
Henry Wurzburg 1f94fd69f9 ArduCopter: move estop pre-arm to AP_Arming and add exception 2023-04-11 09:24:06 +10:00
Randy Mackay ce1e0c3782 Copter: 4.3.6 release notes 2023-04-06 14:16:30 +09:00
Peter Barker caa77ccba8 Copter: remove very old parameter conversion information 2023-04-04 10:40:56 +10:00
Peter Barker b24d74b35d Copter: remove stale conversion functions
past this PR upgrade from Copter-3.3 will not be seamless
2023-04-04 10:40:56 +10:00
Randy Mackay e57a9cacb6 Copter: 4.3.6-beta2 release notes 2023-03-27 11:19:13 +09:00
tzarjakob 97b7e8d1d0 ArduCopter: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
murata 8c1e2546d8 Copter: Add an element of NAV_CONTROLLER_OUTPUT to ZIGZAG mode 2023-03-26 20:02:14 +11:00
Randy Mackay 71d02820a7 Copter: 4.3.6-beta release notes 2023-03-26 12:00:16 +09:00
Peter Barker 3f21946d50 Copter: stop setting motor output levels at boot
We should not have different state in our motors library based on your RC stick positions at boot.

this call is made anywhere we actually arm the motors anyway.
2023-03-25 22:19:54 +11:00
Peter Barker 9c2d68bcd1 Copter: remove enable_motor_output method
this doesn't actually do what it says it does.  I think the functionality to set the motors armed was split out long ago but this little method and its misleading comments remained
2023-03-25 07:57:48 +09:00
Leonard Hall 6d5bc17c8e Copter: Add TKOFF_TH_MAX 2023-03-21 19:51:03 +09:00
Leonard Hall 715bb6e705 Copter: Guided Yaw Fix 2023-03-21 08:23:12 +09:00
bugobliterator 3012450b4a ArduCopter: change INS_ to INS 2023-03-21 10:04:16 +11:00
Randy Mackay b638a3576b Copter: 4.2.4 release notes 2023-03-16 13:36:47 +09:00
Randy Mackay fda4349f5b Copter: 4.1.6 release notes 2023-03-16 13:35:43 +09:00
Randy Mackay 63c0b276c3 Copter: 4.3.5 release notes 2023-03-14 19:15:51 +09:00
CharlieBurge 62119d5bbe Copter: remove check on pause state 2023-03-09 18:13:38 +00:00
CharlieBurge 659ba8324b Copter: report success if already paused or resumed 2023-03-09 18:13:38 +00:00
Leonard Hall 5a178984c4 Copter: Add Radio Failsafe Brake option 2023-03-09 09:25:43 +11:00
Pierre-Yves BRULIN d67e67965f Copter: Reenable PID logging in SystemID mode 2023-03-08 19:28:05 +11:00
Randy Mackay e6ad42b851 Copter: fix terrain offset reset 2023-03-07 13:41:35 +11:00
Leonard Hall 7978347044 Copter: Add support for terrain altitude time constant 2023-03-07 13:41:35 +11:00
Peter Barker ade654b251 Copter: use AP_WINCH_ENABLED in place of WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Peter Barker f47e60d1ea AP_HAL_ChibiOS: add and use AP_WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Randy Mackay 25582d2ecc Copter: 4.3.5-rc1 release notes 2023-03-02 15:03:09 +09:00
Randy Mackay e30a492137 Copter: integrate camera frontend/backend split 2023-03-01 18:18:51 +11:00
Randy Mackay aadcc8501e Copter: 4.3.4 release notes 2023-03-01 12:01:18 +09:00
Stephen Dade b23f5e380c Copter: Allow arming in guided mode from scripting 2023-02-21 22:32:32 +11:00
Peter Barker 9e00b8eeac ArduCopter: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
rishabsingh3003 7a8f8f7907 Copter: Obey loiter_ccw flag for loiter turns 2023-02-15 19:14:43 +11:00
Randy Mackay 79dc650bbd Copter: update 4.3.4-rc1 release notes again 2023-02-15 12:32:24 +09:00
Randy Mackay 58227ba37b Copter: update 4.3.4-rc1 release notes 2023-02-15 12:32:21 +09:00
Randy Mackay ddbbaee828 Copter: 4.3.4-rc1 release notes 2023-02-15 12:32:18 +09:00
murata a6feb97668 Copter: Match type to set value 2023-02-10 15:38:10 +09:00
Peter Barker c0b0ae44d5 Copter: don't use uninitialised stack data when determining ekf_over_threshold 2023-02-09 09:28:46 +09:00
murata 7a7f84adee Copter: Clarify the exclusion determination in the ENUM definition
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2023-02-07 08:20:01 +09:00
Bill Geyer 1c9b4a8ac3 Copter: style formatting 2023-02-05 17:54:33 -05:00
Bill Geyer b24a6fe15f Copter: fix landing detector for autorotation 2023-02-05 17:54:33 -05:00
Bill Geyer 128794ec84 Copter: run update autorotation before motors 2023-02-05 17:54:33 -05:00
Bill Geyer 562050a800 Copter: make code work for manual autorotations outside SITL 2023-02-05 17:54:33 -05:00
Ferruccio1984 da4a2ec85d Copter: Implementation of autorotation condition at RSC level
enables faster re-spool(user settable timer) after power engagement
2023-02-05 17:54:33 -05:00
Peter Barker 1f13fd35e3 ArduCopter: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
mihaelsubasic69@gmail.com cfa3370f9f Copter: add comment to check throttle is not too high for guide_nogps and auto 2023-02-02 08:29:01 +09:00
rishabsingh3003 1452b50196 Copter: Add option to resume precland after reposiiton 2023-01-31 19:56:43 +09:00
Iampete1 e35b52c0be ArduCopter: use check_enabked hepler to always check if all bit is set 2023-01-24 11:09:51 +11:00
Iampete1 001eb20fc3 ArduCopter: use check_enabled helper 2023-01-23 11:00:13 +09:00
Randy Mackay 227bb5520d Copter: 4.3.3 release notes 2023-01-20 10:20:59 +09:00
Akshat Upadhyay 928c3557af Copter: skip throttle high arm check when arming in AUTO 2023-01-19 08:26:00 +09:00
Andrew Tridgell 8cabcfc750 Copter: allow for flight mode UI when FRAME_CLASS=0
this makes the user experience of a first time install nicer for
copters/helis. At the moment the user finds the GCS is not functional,
for example flight mode drop-downs don't display. This can be
confusing as the user doesn't know about the link between displaying
flight modes and the FRAME_CLASS
2023-01-17 09:40:12 +09:00
Peter Barker bba5b34c1e Copter: remove FS_OPTIONS parameter conversion
This code is in 4.0.7 but not 3.6.11 - i.e. after this someone upgrading from 3.6 to master (and presumably 4.4) won't get this conversion done.

This conversion is flawed in that someone configuring a default for a parameter in a configuration file will have that value over-ridden by this code.
2023-01-12 20:33:43 +11:00
Iampete1 13818eac99 ArduCopter: use shared param info defines 2023-01-11 18:41:34 +11:00
rishabsingh3003 b397772ec6 Copter: update terrain db pre-arm checks 2023-01-10 13:22:44 +11:00
Randy Mackay 18c6bb0d67 Copter: update 4.3.3-rc1 release notes 2023-01-10 10:16:33 +09:00
Randy Mackay dc7b0d6027 Copter: 4.3.3-rc1 release notes 2023-01-10 10:16:31 +09:00
Leonard Hall 4d557f95ea Copter: Use filtered and corrected range finder in surface tracking 2023-01-10 08:55:31 +09:00
Peter Barker 18f9702db8 ArduCopter: make check_var_info void
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Randy Mackay e076ce64a1 Copter: replace get_rate_bf_targets with get_rate_ef_targets 2023-01-09 10:34:34 +09:00
Peter Barker 287b6e0364 ArduCopter: remove logging of first home location into CMD message set 2023-01-03 11:22:18 +11:00
Peter Barker 6816ea3fe5 ArduCopter: implement parameter CopyFieldsFrom and use it 2023-01-03 11:08:43 +11:00
Peter Barker 279b6c048d ArduCopter: use relay singleton in Parachute 2023-01-03 10:19:54 +11:00
Leonard Hall 24ade82d24 Copter: Fix takeoff with alt drift and wp_navalt_min set 2023-01-02 17:17:13 +09:00
Leonard Hall dbe6a1e319 Copter: Payload Place enhancements 2022-12-31 12:29:31 +09:00
rishabsingh3003 a57ed97ba1 Copter: set paraam default for user parameters 2022-12-30 14:40:55 -08:00
Leonard Hall 502989d5f3 Copter: Update use of input_vel_accel_z 2022-12-30 20:25:58 +09:00
Leonard Hall b8547b4de6 Copter: Fix Auto Takeoff when complete_alt_cm is current altitude 2022-12-30 09:29:58 +09:00
Andy Piper b19b14404b Copter: log FFT messages at 25Hz if fast filter tuning is set 2022-12-28 18:14:56 +11:00
Leonard Hall d8f95208ad Copter: Auto: return bool in wp_start 2022-12-24 16:03:39 +09:00
Leonard Hall 13df33b87c Copter: Use wp_start() in do_nav_wp() 2022-12-24 16:03:39 +09:00
Randy Mackay 0816d5306d Copter: 4.3.2 release notes 2022-12-23 10:01:02 +09:00
Andy Piper 9356ccbd32 Copter: read radio more frequently to support more modern RX/TX 2022-12-22 18:38:31 +00:00
Tatsuya Yamaguchi da73b419ab Copter: fix compilation when GUIDED, AUTO and CIRCLE modes are disabled 2022-12-22 13:37:28 +09:00
Leonard Hall a3812d7632 Copter: Tuning for position controller angle max 2022-12-20 11:39:33 +11:00
Peter Barker 7e962bb1be ArduCopter: iinclude AP_OpticalFlow header as required 2022-12-15 21:07:31 +11:00
Randy Mackay 3ec8094cf6 Copter: skip ap arming check of GPS hdop if GPS is disabled 2022-12-15 10:55:47 +09:00
Peter Barker 47876812c5 ArduCopter: code-generate chan-fetching methods
A recent PR had to change every single one of these methods, which was kind of unfortunate.

So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
Iampete1 d9dedf3fe8 Copter: autoyaw: weathervane: include roll trim for helis 2022-12-14 16:08:20 -05:00
Iampete1 3fedd0d8b2 Copter: RC_Channel: add weathervane enable/disable switch 2022-12-14 16:08:20 -05:00
Gone4Dirt 66a4ba6256 Copter: add yaw weathevaneing mode 2022-12-14 16:08:20 -05:00
Peter Barker c32a11f37a ArduCopter: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Leonard Hall ed0921a418 Copter: Support changing update period in Motors 2022-12-13 17:10:06 +11:00
Leonard Hall 5d690f0360 Copter: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 5f238f9296 Copter: Reserve G2 63 for Ship Operations 2022-12-13 10:33:20 +11:00
Randy Mackay 353eec0a1b Copter: 4.3.2-rc1 release notes 2022-12-10 10:40:22 +09:00
Randy Mackay fc1a70264d Copter: 4.3.1 release notes 2022-12-05 20:11:24 +09:00
chobitsfan b7e0b1ad38 Copter: explain msgs handling in packetReceived 2022-12-01 08:00:13 +09:00
Randy Mackay 90220e83ac Copter: remove unused definitions 2022-11-25 11:32:15 +09:00
Randy Mackay f392d37941 Copter: remove unused RC failsafe timeouts 2022-11-25 11:32:15 +09:00
Wiktor Maslowski e139938e69 ArduCopter: fix long booting 2022-11-25 11:09:43 +09:00
Peter Barker c5a3dfaa57 ArduCopter: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Andy Piper bcabaf0e74 Copter: inform GCS that turtle mode is active 2022-11-23 08:26:34 +09:00
Randy Mackay 18251f66cb Copter: 4.3.1-rc1 release notes 2022-11-21 18:56:48 +09:00
Randy Mackay dd8fbad653 Copter: integrate RC_Channel's RC_FS_TIMEOUT
timeout is lengthened for regular RC to 1 sec (was 0.5 sec) to be
consistent with other vehicles
2022-11-17 07:42:43 +09:00
Peter Barker 15673f2aa7 Copter: remove SPRAYER_ENABLED define in favor of just HAL_SPRAYER_ENABLED 2022-11-15 08:45:42 +09:00
Peter Barker 1d1956739e ArduCopter: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Iampete1 e0b6145997 Copter: auto yaw fix issues after testing 2022-11-01 08:21:50 +09:00
Iampete1 55e72a9848 Copter: auto yaw re-work 2022-11-01 08:21:50 +09:00
Randy Mackay db176ac6bb Copter: 4.3.0 release notes 2022-10-31 12:39:15 +09:00
Andy Piper e97bb0c318 Copter: add turtle mode safety features. 2022-10-27 10:37:51 +09:00
Andrew Tridgell 5ba9b873b1 Copter: enable send of EFI_STATUS 2022-10-25 11:44:45 +11:00
Peter Barker 7ed190c163 ArduCopter: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
Randy Mackay 63a82b9738 Copter: 4.3.0-beta4 release notes 2022-10-24 22:27:37 +09:00
Andrew Tridgell 8c4732210c Copter: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
Andrew Tridgell 5fd2decb2f Copter: use Float16_t 2022-10-23 12:14:14 +11:00
Henry Wurzburg ca80961a92 ArduCopter: update SRX descriptions 2022-10-19 23:26:45 +11:00
Peter Barker d04f4d8178 Copter: correct defines gating flowhold mode
We have an explicit define for this mode now
2022-10-19 21:56:14 +11:00
Peter Barker 6e25a3d52c ArduCopter: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
Peter Barker 76cb127067 ArduCopter: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Randy Mackay afe7790e4b Copter: 4.3.0-beta3 release notes 2022-10-14 17:20:33 +09:00
Iampete1 fe539e8bb2 Copter: Arming: rc recever: also check for valid override 2022-10-09 16:02:13 +01:00
Randy Mackay d3a86e560f Copter: 4.3.0-beta2 release notes 2022-10-04 16:55:29 +09:00
murata c2e26acbea Copter: Message length within 50 bytes 2022-10-04 10:33:49 +09:00
Leonard Hall 1a5b4fb7d2 Copter: Reorder Alt_hold state switch statement for clarity 2022-10-04 10:03:44 +09:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker be93d8212c ArduCopter: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
chobitsfan 434841d402 Copter: use 3d vector from plnd to slow down 2022-09-30 08:58:37 +09:00
Peter Barker 410bd30f04 ArduCopter: do not send MSG_RPM if RPM not enabled 2022-09-28 20:10:21 +10:00
Randy Mackay 212023a66f Copter: version to 4.4.0-dev 2022-09-27 10:46:12 +10:00
Peter Barker 2d0f31c2ad ArduCopter: correct compilation with rally disabled 2022-09-27 10:16:47 +10:00
Peter Barker fd28991ab2 ArduCopter: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Iampete1 783a8960e1 Copter: remove moter pwm params check 2022-09-19 20:57:51 -04:00
Peter Barker 9c7e1c3af9 ArduCopter: add and use AP_RPM_ENABLED 2022-09-20 09:28:27 +10:00
murata bd89141c3d Copter: Add message "RC not found" 2022-09-15 17:59:37 +10:00
Peter Barker 0827ec0aaa ArduCopter: populate sysid/compid in reboot ACK 2022-09-14 20:16:38 +10:00
Randy Mackay 0732c30e53 Copter: 4.3.0-beta1 release notes 2022-09-13 14:26:14 +09:00
Michael du Breuil 5c73cd581f Copter: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Randy Mackay d4967f5285 Copter: 4.2.3 release notes 2022-09-12 15:23:16 +09:00
Andy Piper 7d70762053 Copter: use pilot_desired_throttle rather than limit_throttle_out in stabilize and acro. 2022-09-07 17:03:03 +01:00
Iampete1 ee31f2322e Copter: takeoff rpm: define out if no ESC telem 2022-09-07 17:03:03 +01:00
Andy Piper fce1fa6752 Copter: make sure motors go through GROUND_IDLE at startup even when in air mode 2022-09-07 17:03:03 +01:00
Andy Piper 2cc9f1463e Copter: disable TKOFF_RPM_MIN on Heli 2022-09-07 17:03:03 +01:00
Randy Mackay 3f96423795 Copter: add takeoff RPM check 2022-09-07 17:03:03 +01:00
Iampete1 b59c179079 Copter: use new motors arming check 2022-09-07 17:54:16 +10:00
Randy Mackay 38665a7935 Copter: fix do-mount-control yaw scaling 2022-09-06 10:17:34 +10:00
Leonard Hall 2165d19af1 Copter: PosHold: remove unnecessary loiter_nav->update 2022-09-02 10:55:48 +09:00
Leonard Hall 57e9e599f4 Copter: Payload Place: Improve touchdown test 2022-09-01 13:49:12 +09:00
Leonard Hall 4b20a2d5f1 Copter: Add control over throttle ramp time during take-off 2022-08-31 19:19:04 -04:00
Leonard Hall 0b1f959ede Copter: fix auto mode is_taking_off 2022-08-30 05:56:08 -04:00
Peter Barker 7c6ec00e11 Copter: display throttle below failsafe only when display_failure set 2022-08-30 17:29:09 +10:00
esaldiran cbadf77652 ArduCopter: support custom controller 2022-08-30 13:10:09 +10:00
Iampete1 353aedb547 Copter: Arming: check EKF height varance 2022-08-29 20:16:02 -04:00
Leonard Hall 427c64eff0 Copter: Replace set_throttle_takeoff with init_z_controller 2022-08-29 13:35:32 +09:00
Henry Wurzburg c7ddc9867d Copter: correct DISARM_DELAY metadata 2022-08-25 20:03:04 -04:00
rishabsingh3003 8fcd42d104 Copter: Convert PRX_ parameters to PRX1_ 2022-08-24 18:26:27 +10:00
Henry Wurzburg 54d5883f87 ArduCopter: add ARM/MOTOR_EMERGENCY_STOP Aux Switch 2022-08-24 16:03:52 +10:00
Andrew Tridgell d18cf7fa75 Copter: removed use of "blended" earth frame accel 2022-08-21 18:51:59 +10:00
Randy Mackay 116ab51e50 Copter: 4.2.3-rc3 release notes 2022-08-20 12:28:11 +09:00
Randy Mackay 658298ed1d Copter: auto takeoff may trigger terrain failsafe 2022-08-19 19:51:26 -04:00
murata d519c94b32 Copter: Clarify the mode 2022-08-19 01:05:53 -04:00
Stephen Dade 58cb4cbfb1 Copter: Make mode flowhold a build option via MODE_FLOWHOLD_ENABLED 2022-08-18 07:46:13 -04:00
Peter Barker 78c742978e ArduCopter: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Henry Wurzburg d3aebd72d8 Copter: logging disentangle and correct bugs and rename bitmasks
fix
2022-08-16 20:16:24 -04:00
Randy Mackay 33d214589f Copter: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Peter Barker d39fcfd038 ArduCopter: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00