Commit Graph

7231 Commits

Author SHA1 Message Date
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
Randy Mackay e4484d7f92 Copter: 4.2.3-rc2 release notes 2022-08-15 11:07:57 +09:00
Randy Mackay c7dc1fc441 Copter: 4.2.3-rc1 release notes 2022-08-12 15:56:22 +09:00
Peter Barker cb9f376638 Copter: make rc-in-failsafe checks a prearm check rather than an at-arm check 2022-08-11 20:01:45 -04:00
Peter Barker 1e3f37908c Copter: factor out an rc_throttle_failsafe_checks method
NFC, preparing to call this from elsewhere
2022-08-11 20:01:45 -04:00
Andy Piper 9a450a05bb Copter: add fast harmonic notch logging 2022-08-09 03:45:08 -04:00
Andy Piper 1c8d206dfb Copter: fast attitude logging should be at loop rate 2022-08-09 03:45:08 -04:00
Peter Barker 67d8965cad ArduCopter: make terrain checks common between Copter and Plane 2022-08-09 14:31:14 +10:00
Tamas Nepusz 5e7622d593 Copter: reserve mode number 127 and param group 62 for Skybrush 2022-08-09 13:22:07 +10:00
Peter Barker a54321ad12 Copter: remove pointless clause in motor_checks
check_failed doesn't make any state changes and we return true in either case
2022-08-08 20:42:26 -04:00
Peter Barker a5dadd2694 Copter: move motors check to be must-run prearm
motors check would be run twice on arm without this.

After this change, even if ARMING_CHECKS is 0 the user will be warned they need to set FRAME_CLASS and FRAME_TYPE, rather than just when they try to arm the vehicle.
2022-08-08 20:42:26 -04:00
Iampete1 ac94ba33ff ArduCopter: params always use set method 2022-08-03 13:43:48 +01:00
Leonard Hall 7dd196c7ea Guided Mode support MAV_CMD_DO_CHANGE_SPEED 2022-08-02 10:26:58 +10:00
Leonard Hall 1e87b4b09a Copter: Fix Payload Place Bug 2022-07-28 15:24:54 +10:00
Iampete1 1b160205ab ArduCopter: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 b988391455 Copter: Fence moved to vehicle 2022-07-27 19:04:56 +10:00
Peter Barker 8c915b849a ArduCopter: remove references to config.mk
dates from APM-build days.  The build server files references APM1 which is long gone.  Users running build_binaries can pollute their own environments, not need for this.
2022-07-26 21:23:06 +10:00
Leonard Hall 55658985cc Copter: Payload Place fix takeoff 2022-07-26 09:53:31 +10:00
Peter Barker 3480a8f9f9 ArduCopter: save some bytes by removing empty methods based on #ifs 2022-07-22 13:49:51 +10:00
Iampete1 ed4321a5ba Copter: set defualt format version 2022-07-20 17:59:59 +10:00
Randy Mackay d38ac2b520 Copter: 4.2.2-attempt2 release notes 2022-07-18 13:56:01 +09:00
murata f3c23d1629 Copter: Append WHITE SPACE to the else statement 2022-07-18 09:06:14 +09:00
Iampete1 cbaea15c96 Copter: add AIS to ADSB stream rate 2022-07-12 09:39:54 +10:00
RuffaloLavoisier 2172095e3f Copter : correct spelling on comment 2022-07-11 08:51:27 +09:00
Yuri a97a17cce4 Copter: implement set_desired_speed 2022-07-07 19:34:10 +09:00
Randy Mackay 77b2afed3f Copter: release notes for 4.2.2-rc2 2022-07-04 12:11:41 +09:00
Peter Barker 368ad9a06b ArduCopter: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Randy Mackay d61ba6d9d1 Copter: do_mount_control specifies body-frame angle targets
this is not a change in behaviour
2022-06-29 10:56:48 +09:00
Randy Mackay a160281e5d Copter: 4.2.2 release notes 2022-06-28 08:53:22 +09:00
Bill Geyer e934fe89f2 Copter: make rate time constants default to zero 2022-06-28 07:56:12 +09:00
Bill Geyer 1358b7aa06 Copter: delete unused param variable declarations 2022-06-28 07:56:12 +09:00
Bill Geyer 4fde394395 Copter: add support for command model class 2022-06-28 07:56:12 +09:00
murata 1aae0610a6 Copter: Initialize a string array 2022-06-22 17:25:56 +10:00
Andy Piper 877f98e547 Copter: keep manual throttle mix at zero throttle when airmode is on
allow landing detection in airmode
increase landing detection timeout in airmode.
2022-06-22 16:17:26 +09:00
Randy Mackay e9d17484d4 Copter: 4.2.2-rc1 release notes 2022-06-21 20:17:13 +09:00
Randy Mackay ca0ea39d4f Copter: land and payload place obey alt frame 2022-06-21 09:07:36 +09:00
Randy Mackay 46023318d4 Copter: get_rangefinder_height_interpolated_cm made const 2022-06-21 09:07:36 +09:00
Joshua Henderson 13d1b8632b Copter: remove param docs for ACRO_RP_P and _YAW_RP 2022-06-16 09:09:55 +09:00
Randy Mackay 7d13582913 Copter: implement get_rate_bf_targets method 2022-06-15 09:07:14 +09:00
Randy Mackay cd1a62b7bc Copter: move get_wp_xxx declarations higher in Copter.h
The declarations are grouped by the file in which they appear except for these 3
2022-06-15 09:07:14 +09:00
Shiv Tyagi b2f3123b0c Copter: avoid ascend beyond fence's max alt in circle mode 2022-06-13 09:06:28 +09:00
Peter Barker fca544a14a Copter: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker cb46764bad ArduCopter: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Randy Mackay cedac30a62 Copter: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
Randy Mackay 7247bc50e5 Copter: remove unused MSG_GIMBAL_REPORT 2022-06-07 09:27:47 +10:00
Randy Mackay fd63dab3ca Copter: 4.2.1 release notes 2022-06-07 07:58:59 +09:00
Andrew Tridgell 161ab4b330 Copter: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Leonard Hall 0c008fe8a9 Copter: AP_Math: Move rc_input_to_roll_pitch conversion to AP_Math 2022-05-31 08:08:17 +09:00
Leonard Hall 08cdde5608 Copter: Clarify get_pilot_desired_lean_angles and fix limit 2022-05-31 08:08:17 +09:00
Randy Mackay fc9a792f88 Copter: minor comment fix to auto mode 2022-05-31 07:50:16 +09:00
Randy Mackay dd0d1d6b3c Copter: minor comment fixes to ekf failsafe
the bad variances can be from the compass, velocity or position estimate
2022-05-31 07:50:16 +09:00
Randy Mackay 5cde018198 Copter: auto does not require GPS during attitude_time commands 2022-05-31 07:50:16 +09:00
Randy Mackay 0f73d705a7 Copter: add failsafe_ekf_recheck
this allows modes to retrigger the EKF failsafe if they move from a sub mode that did not require GPS to one that does
2022-05-31 07:50:16 +09:00