Commit Graph

7583 Commits

Author SHA1 Message Date
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Leonard Hall b45b07d539 Copter: Fix rate input frame and clarify SET_ATTITUDE_TARGET 2024-06-26 11:22:54 +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
Iampete1 44710e8576 Copter: `update_target_location` reject alt frame change per plane 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura a95b5bc0dc Copter: leave old_loc check instead of changing alt frame. 2024-06-25 08:29:57 +09:00
TsuyoshiKawamura 8346203d43 Copter: simplify update_target_location 2024-06-25 08:29:57 +09:00
rtos-kawamura 34748e681f Copter: simplify get_target_location
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-06-25 08:29:57 +09:00
TsuyoshiKawamura 5f5e0e65e0 Copter: implement get_target_location/update_target_location for lua 2024-06-25 08:29:57 +09:00
Peter Barker 3630e772b1 Copter: add Copter::option_enabled(...) replacing bitops vs copter.g2.flight_options 2024-06-20 10:59:14 +10:00
Peter Barker e34c91d1aa Copter: tidy use 'else if' to avoid unnecessary complication in location arm checks 2024-06-19 17:27:37 +10:00
richaravoil b782d24f87 ArduCopter: get MAV_STATE_BOOT on reboot
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-06-18 20:22:29 +09:00
chobits tai 3b24530cc2 Copter: fix MAV_CMD_CONDITION_YAW with relative angle when WP_YAW_BEHAVIOR = 0 2024-06-18 10:52:01 +09:00
Iampete1 4ab24dc015 ArduCopter: use new ModeReason::AUX_FUNCTION 2024-06-18 09:49:20 +10:00
Peter Barker 136e76e5ea Copter: tidy failsafe action handling
Mode changes will not work when mode not compiled in
2024-06-17 10:24:59 +10:00
muramura c376781c08 Copter: Clear the counter when rudder arm operation is disabled 2024-06-17 09:56:22 +10:00
muramura 9135f01a93 Copter: Move to the processing section to be used 2024-06-17 08:03:38 +09:00
Iampete1 1853f07793 ArduCopter: 4.5.4 release notes 2024-06-15 09:19:56 +09:00
Peter Barker 72fa6aa410 ArduCopter: clarify frame of get_location_from_origin_offset
... by renaming it get_location_from_origin_offset_NED
2024-06-11 14:57:56 +10:00
muramura da3a9c1cc6 Copter: Enable processing 2024-06-11 09:17:59 +10:00
muramura 5107cb495a Copter: Change the sub-mode description 2024-06-11 09:14:31 +10:00
Peter Barker cb869ef7f0 ArduCopter: remove defaulting of OSD_ENABLED
we do this in AP_OSD_config.h too so include ordering can break things badly
2024-06-04 16:32:26 +10:00
Andrew Tridgell 7551236854 ArduCopter: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker 1c5a026e3e Copter: ModeGuided: add an option_is_enabled method, use it 2024-05-29 13:11:58 +10:00
Randy Mackay 53f37a7457 Copter: 4.5.3 release notes 2024-05-28 13:19:03 +09:00
MattKear ae38c96a04 Copter: use new surface distance library 2024-05-28 09:55:36 +10:00
Peter Barker fcebd0c8c2 Copter: avoid Guided submode change unless can change Loc to Vec-from-origin
ordering problem between changing the submode and setting a valid position
2024-05-22 17:10:12 +09:00
Peter Barker 76950b5994 ArduCopter: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Andrew Tridgell 2bcc2b296d ArduCopter: update release notes for 4.5.3-beta1 2024-05-16 11:04:32 +10:00
bnsgeyer a1a5647b7f Copter: change input_loiter_xxx to input_vel_xxx in sysid mode 2024-05-14 23:16:52 -04:00
bnsgeyer bbaf557457 Copter: implement suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer 9e4340ba33 Copter: change position controller method for making inputs 2024-05-14 23:16:52 -04:00
bnsgeyer 75d9163571 Copter: fixes for suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer d0dfe86a4b Copter: incorporate comment to remove unnecessary function 2024-05-14 23:16:52 -04:00
bnsgeyer f74ccd569a Copter: Added new input types for SID_AXIS parameter 2024-05-14 23:16:52 -04:00
bnsgeyer d0cf2240dc Copter: clean up 2024-05-14 23:16:52 -04:00
bnsgeyer ad75c0c1d8 Copter: simplification of system ID 2024-05-14 23:16:52 -04:00
bnsgeyer 1bf865e4eb Copter: add support for sysid of vel and pos loops 2024-05-14 23:16:52 -04:00
Randy Mackay 5c50da7f9f Copter: 4.5.2 release notes 2024-05-14 16:48:02 +09:00
muramura 07a5f61782 Copter: Change from enum to class 2024-05-07 20:27:15 +09:00
Iampete1 f54f7d7dc6 Copter: `euler_rate_to_ang_vel` takes Quaternion attitude 2024-05-07 08:34:40 +09:00
haarshitgarg a13639d9d8 ArduCopter: enabled sending waypoints from a companion computer to ardupilot for copter and rover
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Andrew Tridgell e417be0492 Copter: update release notes 2024-05-01 17:24:10 +09:00
Randy Mackay cc3bb402e4 Copter: 4.5.2-beta1 release notes 2024-05-01 17:24:10 +09:00
Peter Barker 0d7925059c ArduCopter: move handling of AP_Radio RC input down into AP_RCProtocol 2024-05-01 17:51:49 +10:00
Leonard Hall 127f1296de Copter: Land Detector: add hash define for LAND_DETECTOR_VEL_Z_MAX 2024-04-30 10:21:29 +09:00
lthall 797dfdd0ed Copter: Land Detector: Include angle checks 2024-04-30 10:21:29 +09:00
Iampete1 5b9848c5e1 Copter: support `DO_RETURN_PATH_START` 2024-04-30 08:03:39 +09:00
Randy Mackay 6f6bc21e2e Copter: guided mode fix for landing detector internal error 2024-04-23 15:11:24 +09:00
Peter Barker b173662b3c ArduCopter: remove Baro accumulate API
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Peter Barker 00433a2625 ArduCopter: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Peter Barker 5b69ff6e65 Copter: send RC_CHANNELS in SITL in compassmot loop
When setting an RC value in autotest, we require the change to appear in this message
2024-04-16 19:14:38 +10:00
Peter Barker d198c3e13d Copter: emit system time during compassmot on SITL
the autotest framework heavily relies on system_time being emitted -
because we're not running the main loop during compassmot it gets stuck
if we don't do this
2024-04-16 19:14:38 +10:00
muramura 0f0023e62d Copter: Get the flight mode name display from the name method 2024-04-16 09:08:35 +09:00
Peter Barker 5de6e20ecd Copter: factor out methods for guided-mode commands 2024-04-14 13:19:07 +10:00
Peter Barker cddc590b8b Copter: move #ifs to outside case statements in do_aux_function
this means a user will get a warning if they try to run a function and it isn't supported
2024-04-11 18:35:27 +10:00
Peter Barker b849fbbcca Copter: autoyaw: correct units returned by look_ahead_yaw
there are other methods on the autoyaw object which make it clear that they're working in cd, and others in there that work in degrees.  This method doesn't specify cd yet returns in that unit.

Change the method and state variable to store in degrees (as our naming standards suggest)
2024-04-11 10:24:58 +10:00
Peter Barker 18850fdd1f ArduCopter: add option to flight mode pause/resume via aux function 2024-04-11 10:17:35 +10:00
Andrii Fil 6ae12729da ArduCopter: optional (CHUTE_OPTIONS:1) disarm defore parachute release 2024-04-10 21:55:51 +10:00
Peter Barker 021d637edc Copter: make landing-detector-disarm-logic clearer 2024-04-10 21:52:58 +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 0c2636c191 ArduCopter: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker 5d41125b49 ArduCopter: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Andrew Tridgell 04b207f4c5 ArduCopter: release notes for 4.5.1 2024-04-08 12:59:21 +09:00
Randy Mackay e886fedfb1 Copter: 4.5.0 release notes 2024-04-02 13:12:15 +09:00
Iampete1 eadcf9b09e Copter: add `get_stopping_point` helper and pass stopping point to `jump_to_landing_sequence` 2024-04-02 11:11:59 +11:00
Leonard Hall 609013876e Copter: Guided Angle: Initialize yaw to current yaw. 2024-03-25 10:19:56 +09:00
Andrew Tridgell 6022e0df56 ArduCopter: release notes for 4.5.0-beta4 2024-03-22 15:43:04 +09:00
Iampete1 6c44869c82 Copter: remove runup event logging and in_autorotation flag 2024-03-19 11:01:50 +11:00
Peter Barker 1ee1f24ea9 ArduCopter: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker 38767b2e69 ArduCopter: move AP_OSD into common libraries list 2024-03-19 07:15:10 +11:00
Peter Barker 4569b1ba14 ArduCopter: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Andrew Tridgell 0cbbf00c93 Copter: release notes for 4.5.0-beta3 2024-03-14 09:53:59 +09:00
Tatsuya Yamaguchi 251db3f414 Copter: change RTL_ALT_MIN from 200cm to 30cm 2024-03-12 15:47:41 +09:00
Peter Barker f4bb15d8cd ArduCopter: cope with AP_AVOIDANCE_ENABLED being false 2024-03-11 18:07:18 +11: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
Iampete1 e9397e10f9 ArduCopter: don't try and send MSG_RANGEFINDER if AP_RANGEFINDER_ENABLED is false 2024-03-05 12:32:20 +11:00
bnsgeyer cbb47ed42f Copter: Remove tradheli arming check for inverted flight 2024-03-05 10:24:06 +09:00
Iampete1 52bffc4b4d Copter: Heli: ensure inverted flight only in supported modes 2024-03-05 10:24:06 +09:00
Iampete1 73760ea393 Copter: Heli: remove duplicate inverted flight state 2024-03-05 10:24:06 +09:00
Peter Barker b913ea292b ArduCopter: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Andy Piper f0b691dd31 Copter: check fence at faster rates when going faster to avoid massive fence breaches 2024-02-28 19:29:44 +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
bugobliterator 047d2b85da ArduCopter: fix version setting in CheckFirmware app descriptor 2024-02-21 18:54:17 +11:00
George Zogopoulos b2898ca1d3 ArduCopter: Excluded target velocity from slowdown calculations
The slowdown calculations should apply only to the relative velocity,
not the absolute one. Thus the target baseline velocity should be added
afterwards.
Naturally the absolute velocity limits should be applied afterwards.
2024-02-20 13:42:20 +09:00
Ryan Friedman a825fe2537 Copter: Add DDS details to release notes
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-02-20 08:34:06 +09:00
Peter Barker d4708e2d52 ArduCopter: use AUX_FUNC instead of typedef aux_func_t 2024-02-15 08:41:30 +11:00
Andy Piper 9cc194bc8a Copter: cleanup EKF failsafe units and division 2024-02-14 19:23:24 +09:00
Andrew Tridgell 312fa7c4d6 Copter: release notes for 4.5.0-beta2 2024-02-14 11:22:19 +11:00
Peter Barker 00356e0eb4 ArduCopter: move parameter storage formatting up to AP_Vehicle 2024-02-13 14:23:35 +11:00
Peter Barker 4e97561d5b ArduCopter: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker d462756cbc ArduCopter: move RC bits in mavlink to common code
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Andy Piper 780045ee3a Copter: filter ekf variances for failsafe and vibration checks
add a parameter to control EKF failsafe filtering
2024-02-07 15:10:30 +00:00
Peter Barker 78e3719835 Copter: move scripting up to AP_Vehicle 2024-02-07 18:24:12 +11:00
Peter Barker 700f850b58 ArduCopter: add comment for lost AP_Stats object params 2024-02-07 18:24:12 +11:00
Peter Barker af5cba5826 ArduCopter: move can_mgr.init call up to AP_Vehicle
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Peter Barker 9656ecdbba ArduCopter: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Randy Mackay 98c59129ec Copter: version to 4.6.0-dev 2024-01-31 10:03:19 +09:00