Commit Graph

7525 Commits

Author SHA1 Message Date
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