Commit Graph

6447 Commits

Author SHA1 Message Date
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
Peter Barker bf79c49c23 ArduCopter: remove comment for already-removed in-delay-callback function
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
murata 04b0a8a62a Copter: Add expected value to message 2020-04-14 10:09:05 +09:00
murata 2822fa68fc Copter: Adding flight mode to flight mode unchangeable messages 2020-04-14 09:53:17 +09:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Randy Mackay 05a37db07c Copter: remove call to visual_odom.update 2020-04-09 19:41:08 +09:00
Leonard Hall c29aa4077d Copter: Acro expo typo fix 2020-04-08 08:58:47 +09:00
murata f70ab73a1f Copter: Change arming messages 2020-04-08 08:55:17 +09:00
Michael du Breuil 132fe82ad2 Copter: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07:00
Rishabh 7c4b195488 Copter:Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Peter Barker 2670192c41 Copter: add D16, D32, DFLT and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
Rishabh 62ec6540ec Copter: Added logger documentation 2020-04-07 09:09:45 +10:00
Rishabh 3b077ec612 Copter: Added FlowHold logger documentation 2020-04-07 08:05:10 +09:00
Rishabh 41590916d5 Copter: Added Throw Mode logger documentation 2020-04-07 08:05:10 +09:00
Rishabh 4995a9b274 Copter: Added Toy Mode logger documentation 2020-04-07 08:05:10 +09:00
Andrew Tridgell 1222aa2c43 Copter: make EKF mag variance check use max
this makes it consistent with logged value
2020-04-06 17:30:29 +10:00
Leonard Hall 1a4e96b4ba Copter: Fix Rate expo calculation
This fixes a bug in the yaw rate expo and makes these changes consistent with roll and pitch rate expo.
2020-04-06 09:41:39 +09:00
Tatsuya Yamaguchi 735498e160 Copter: move zigzag exit into mode_zigzag.cpp 2020-03-26 14:56:40 +09:00
Peter Barker c9f810e924 Copter: add missing ABst to CTUN logmessage documentation 2020-03-22 18:35:14 +11:00
Henry Wurzburg 408b2b1e8d ArduCopter: fix typos in logger message meta-data 2020-03-22 10:04:53 +11:00
Peter Barker 1fbace608d Copter: add CTUN log information 2020-03-21 09:34:43 +11:00
Randy Mackay e2469d29bc Copter: implement start_takeoff and set_target_velocity_NED for use in scripting 2020-03-19 15:17:11 -07:00
Randy Mackay db2229f684 Copter: ModeGuided::do_user_takeoff_start arg rename
this makes it more consistent with the method it is overriding
2020-03-19 15:17:11 -07:00
Andrew Tridgell 375c08f39c Copter: convert to new get_rpm() API 2020-03-12 08:36:40 +11:00
Randy Mackay 90883624bc Copter: fix use of wp-navmin-alt 2020-03-11 10:39:18 +09:00
Peter Barker 3802ca217e ArduCopter: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00