Commit Graph

6472 Commits

Author SHA1 Message Date
Andy Piper
8d2f2443a2 Copter: add air mode aux function 2020-06-16 20:30:26 +10:00
Peter Barker
0eb03ba7d5 Copter: make SuperSimple type-safe 2020-06-16 19:39:42 +10:00
Randy Mackay
d35643a372 Copter: 4.0.4-rc2 release notes 2020-06-16 14:17:12 +09:00
Peter Barker
a629e91f30 ArduCopter: rename 'enum aux_switch_pos_t' to 'enum class AuxSwitchPos' 2020-06-12 08:11:46 +10:00
Andrew Tridgell
2cd5519d5d Copter: rename 2D rotation functions
drop the rotate prefix
2020-06-04 09:49:52 +10:00
Tatsuya Yamaguchi
cde7ae246e Copter: add ZIGZ_AUTO_ENABLE parameter 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
78fd5fac04 Copter: allow to resume in ZigZag Auto 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
cee7e94ebc Copter: add zigzag_line_num parameter 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
7bc528097d Copter: support zigzag auto feature 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
60fb275501 Copter: rename zigzag_auto_pump to zigzag_sprayer 2020-06-03 15:21:21 +09:00
Tatsuya Yamaguchi
63002111eb Copter: add ZIGZAG_WP_DELAY parameter 2020-06-03 15:21:21 +09:00
murata
923237ffd3 Copter: Enumerate A and B points of ZigZag 2020-06-03 15:21:21 +09:00
Peter Barker
9b64ca040d Copter: do not adjust trims while landed
Closes #1282

Also cancels autotrim if you change modes, disarm the vehicle or land
again.
2020-06-03 16:19:01 +10:00
Randy Mackay
d2b94bd45d Copter: verify_circle removes redundant setting of circle center
the circle center is already set in circle_movetoedge_start
2020-06-03 10:08:52 +09:00
Andrew Tridgell
e673bd8909 Copter: implement disarm on land based on MIS_OPTIONS
only continue with mission if MIS_OPTIONS bit is set
2020-06-02 09:12:22 +09:00
mmk0102
c0d7739929 Copter: move check for duplicate auxswitch options up 2020-06-02 09:43:31 +10:00
Randy Mackay
baa33d99a9 Copter: version to 4.1.0-dev 2020-06-01 12:58:12 +09:00
Randy Mackay
ce17844a72 Copter: release notes update for 4.0.4-rc1 2020-06-01 12:55:39 +09:00
Randy Mackay
fb2ac2db93 Copter: release notes for 4.0.4-rc1 2020-06-01 12:55:37 +09:00
Andy Piper
3515dc9322 Copter: make sure AP_Vehicle::fast_loop() gets called 2020-05-24 07:43:34 +10:00
Gone4Dirt
9269ee50ed Copter: Allow manual autorotations without enabling arot flight mode 2020-05-20 21:56:09 -04:00
Iampete1
13d6a887fd Copter: align GCS PID with logged 2020-05-19 09:04:16 +10:00
murata
520782d7f2 Copter: Correction of spelling errors (NFC) 2020-05-18 13:26:11 +10:00
Randy Mackay
64360f263c Copter: land detector allows larger lean angle request in land mode 2020-05-14 08:24:29 +09:00
chobits
8ce27afba0 Copter: fix mode and fence gps check fail message 2020-05-11 10:41:06 +09:00
Tatsuya Yamaguchi
875fa36018 Copter: remove an unnecessary condition 2020-05-05 11:03:38 +10:00
Tatsuya Yamaguchi
9c3a0b863f Copter: use check_failed function for ESTOP arming check 2020-05-05 11:03:38 +10:00
Randy Mackay
944939fde3 Copter: remove unused heli definitions 2020-05-02 11:32:09 +09:00
Randy Mackay
e889f6091e Copter: fix Throw param desc 2020-05-02 11:32:06 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
d1eb03df30 Copter: Report MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL and MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL as healthy if the flight mode says so.
Brings it up to the Sub and Plane status
2020-05-01 08:14:11 +09:00
Peter Barker
ba5bbcdea7 ArduCopter: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Andrew Tridgell
265b9a42fb ArduCopter: invalidate param count when changing param tree structure 2020-04-29 07:36:55 +10:00
Randy Mackay
d9ecf51457 Copter: auto mode loiter-turns accepts pilot yaw input 2020-04-27 09:39:46 +09:00
murata
e1df6933f0 Copter: Set the minimum value to zero. 2020-04-27 08:57:49 +09:00
Randy Mackay
77ff169757 Copter: minor comment fix 2020-04-24 18:18:05 +09:00
Randy Mackay
680e417c2c Copter: remove unnecessary includes 2020-04-24 18:18:05 +09:00
Randy Mackay
6c48a9c305 Copter: use AHRS::get_primary_core_index instead of EKF2 equivalent 2020-04-24 18:18:05 +09:00
Randy Mackay
ddaa5dee86 Copter: use static assert to simplify use of EKF_CHECK_ITERATIONS_MAX 2020-04-24 09:43:23 +10:00
Paul Riseborough
8ce97af40e ArduCopter: Preserve original check criteria 2020-04-24 09:43:23 +10:00
Paul Riseborough
36031c01a9 ArduCopter: rework ekf check to use separate yaw reset request
ArduCopter: Request lane or yaw reset switch sooner

ArduCopter: rework ekf check to use separate yaw reset request

ArduCopter: Rework EKF failsafe

During flight operations it is the deviation in position of the vehicle that matters during most scenarios.
t patch ensures that an EKF fail-safe will be triggered when the position inconsistency exceeds check limits in addition to either a bad mag or velocity innovation.
This will stop velocity noise triggering an early fail-safe when electromagnetic interference is present.
2020-04-24 09:43:23 +10:00
Randy Mackay
dcbbd047b4 Copter: simplify guided mode takeoff using rangefinder 2020-04-23 15:01:46 +09:00
Tatsuya Yamaguchi
29dcbd1398 Copter: use rangefinder to takeoff altitude in guided mode 2020-04-23 15:01:46 +09:00
Randy Mackay
c4b5d47e1f Copter: white space fixes 2020-04-23 13:17:11 +09:00
Randy Mackay
b32c5a840b Copter: do not send ahrs3 mavlink message 2020-04-22 14:11:17 +09:00
Randy Mackay
f3989cae4c Copter: remove unused Ch6 EKF tuning options 2020-04-22 10:34:18 +09:00
Rishabh
1edf1d265c Copter: Set correct yaw for circle in Mode Auto 2020-04-21 20:12:38 +09:00
Andrew Tridgell
4c2cf2139e Copter: fixed use of timestamps in autorotate
fixes wrap handling
2020-04-20 07:10:21 +10:00
Andrew Tridgell
ffd601aca4 Copter: fixed build warnings in autorotate
unused code, and incorrect use of abs()
2020-04-20 07:10:21 +10:00
Randy Mackay
c0ac4bb51c Copter: loiter-turn obeys wpnav-rfnd-use 2020-04-16 17:30:29 +09:00
Randy Mackay
71cbedb178 Copter: support circle with terrain altitude 2020-04-16 17:30:29 +09:00