Commit Graph

53881 Commits

Author SHA1 Message Date
Peter Barker b0bee613d4 ArduPlane: add and use AP_ICENGINE_ENABLE 2022-07-22 08:48:16 +10:00
Peter Barker 8af84cf236 AP_ICEngine: add and use AP_ICENGINE_ENABLE 2022-07-22 08:48:16 +10:00
Henry Wurzburg 4c44b6ad1a AP_Compass: expand description of custom orientation parameters 2022-07-21 15:45:28 +01:00
Henry Wurzburg 51a21679be AP_AHRS: expand description of custom orientation parameters 2022-07-21 15:45:28 +01:00
Peter Barker a306c4c506 autotest: increase timeout allowed for mavlite parameter test
the FRSky thread isn't any faster, but ArduPlane's speedup was increased.  So allow more simulated time to get the data
2022-07-21 14:31:32 +10:00
Peter Barker 3c700bdf44 autotest: disable terrain during frsky passthrough test
If terrain isn't available then our expected statustext gets blatted with one which RCTelemetry library emits
2022-07-21 14:31:32 +10:00
Peter Barker aa7987a4fb autotest: correct upload/download-mission timeouts 2022-07-21 14:31:32 +10:00
Peter Barker e27b98f47e autotest: wait for Plane to slow down after frsky test
disarming via mavlink can fail if we think we're still moving
2022-07-21 14:31:32 +10:00
Andrew Tridgell 25e317d6b1 Plane: check G_Dt to catch startup errors
this catches cases where constructors lead to G_Dt being incorrect
2022-07-21 14:21:17 +10:00
Peter Barker 3e89e32d8a autotest: comment out unused context_start_custom_binary method
Broken under Python2.

Also fix some flake8 problems under flake8 under Python2
2022-07-21 09:59:40 +10:00
Rolf-G ea44da1e8d AP_Scripting: examples: Aerobatics: Corrects arg1/arg2
Corrects bad description of arg1 and arg2 for rolling circle  in plane_aerobatics.lua

See https://github.com/ArduPilot/ardupilot/issues/21022
2022-07-20 13:18:10 +01:00
Iampete1 66a5a289d7 PID: use set and defualt 2022-07-20 17:59:59 +10:00
Iampete1 ca9aa41dd1 AP_SerialManager: use set_and_defualt 2022-07-20 17:59:59 +10:00
Iampete1 ad8b9f58df AP_Motors: use set and defualt 2022-07-20 17:59:59 +10:00
Iampete1 18351186db AP_Periph: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 ff103e309e Rover: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 0bb28c6484 Blimp: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 8960fce4dc Sub: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 7c505ad0ff Plane: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 ed4321a5ba Copter: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 34a5a357a7 Tracker: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 7ee330d12d SRV_Channel: use set_and_default method 2022-07-20 17:59:59 +10:00
Iampete1 c87d46e24d AC_AttitudeControl: CommandModel: use set_and_default method 2022-07-20 17:59:59 +10:00
Iampete1 3f84ba12c0 AC_PID: use set_and_defualt to set defualt values 2022-07-20 17:59:59 +10:00
Iampete1 88d9550214 AP_Filesystem: support including defualts in packed param format 2022-07-20 17:59:59 +10:00
Iampete1 63e03622d4 AP_Logger: log default param values 2022-07-20 17:59:59 +10:00
Iampete1 5b290920a7 AP_Param: keep track of defualt values in linked list 2022-07-20 17:59:59 +10:00
Iampete1 040e08f4b1 Plane: tailsitter: dont check if flying its always true in vtol transtion 2022-07-20 17:40:08 +10:00
Peter Barker 0793814f5a Tracker: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker 34f2599479 GCS_MAVLink: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker 39ab6b727c AP_BLHeli: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker 44cc3de7a6 SITL: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker 695891365e AP_Vehicle: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker c00d712adc AP_Motors: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker e570737154 AP_GyroFFT: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker 659f801650 AP_Logger: remove unused includes 2022-07-20 17:32:24 +10:00
Pierre Kancir 52d9dc1471 AP_Soaring: make function const 2022-07-20 17:28:39 +10:00
Pierre Kancir 8b8ca504fc AP_Soaring: make PolarParams const reference 2022-07-20 17:28:39 +10:00
Pierre Kancir f76d6ea739 AP_Soaring: fix initialization order to fix
https://github.com/ArduPilot/ardupilot/issues/21043
2022-07-20 17:28:39 +10:00
Iampete1 98887a984b Plane: FW approach: use abs value for loiter sum check 2022-07-20 17:02:07 +10:00
Iampete1 2bda3c44c6 Plane: FW approach: correct wrap on breakout direction check 2022-07-20 17:02:07 +10:00
Iampete1 2e342d7852 Plane: FW approach: allways use correct loiter direction 2022-07-20 17:02:07 +10:00
Iampete1 7a88dc9348 Plane: VTOL aproach threshold use path proprtion rarther than radius 2022-07-20 17:02:07 +10:00
Peter Barker 515b79a6ca autotest: remove un-needed calls to drain_mav_unparsed
these calls are generally bad now, given we have context_collect things going on which always want to see messages coming in
2022-07-20 15:17:25 +10:00
Peter Barker a8357531d1 autotest: pause SITL process while draining mav unparsed 2022-07-20 15:17:25 +10:00
Peter Barker 7ae32c94ef mavlink: move reference commit forward to master
includes opendroneid and loweheiser messages
2022-07-20 09:00:20 +10:00
Andrew Tridgell 0731b5cfa0 AP_ICEngine: fixed RPM filter rate and plane.G_Dt
AP_ICEngine runs at 10Hz, so we need to use 10 for the filter.

As this runs in a constructor it also caused memoisation of the wrong
AP_Scheduler _loop_period_s which resulted in plane.G_Dt always being
1/50, which is a much more serious issue

this is a temporary fix, we need a better one soon
2022-07-20 07:33:37 +10:00
Luiz Georg b59a2143ae Tools/LogAnalyzer: fix python2/3 compatibility 2022-07-19 22:01:31 +10:00
Luiz Georg d76f3d71ae Tools/LogAnalyzer: pass flake8
`TestDualGyroDrift.py` ignored because it is mostly commented out code
2022-07-19 22:01:31 +10:00
Luiz Georg da0c365f3d Tools/LogAnalyzer: Use more specific exceptions 2022-07-19 22:01:31 +10:00