Commit Graph

54210 Commits

Author SHA1 Message Date
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
Peter Barker f5a8561fde AP_Arming: display 'Arm: ' instead of 'PreArm: ' for arming failures
Before this patch we would display PreArm: even if the checks were being performed as part of the arming sequence.

This lets us distinguish betwee checks failing because the user is trying to arm the vehicle and when the prearms are running while disarmed (or triggered via GCS)
2022-08-09 10:18:52 +10:00
Henry Wurzburg 8b02f11c23 AP_Motors: refactor to allow frame type symbols to be created for ELF 2022-08-09 10:06:18 +10:00
Henry Wurzburg 44ce44b2fa Tools: fix errors in build_options.py 2022-08-09 10:00:03 +10:00
Iampete1 a209a391df Tools: FilterTool: allow query string param config and add get link 2022-08-09 09:48:52 +10:00
Iampete1 ea3f5877c9 Tools: FilterTool: remember scale 2022-08-09 09:48:52 +10:00
Joshua Henderson e338e4cdb6 AP_TECS: use TECS log bitmask in constructor 2022-08-09 09:44:50 +10:00
Joshua Henderson a9da91bc8d Plane: add TECS Logbitmask to TECS constructor 2022-08-09 09:44:50 +10:00
Henry Wurzburg cea1e29f4e Tools: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Henry Wurzburg aafc0789f0 SITL: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Henry Wurzburg a46c774698 AP_RangeFinder: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Henry Wurzburg e682296b58 AP_HAL_SITL: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Henry Wurzburg 4c24b89dde AP_HAL: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Peter Barker d555c49230 autotest: allow a test to override speedup
This is a crutch for poorly-behaving tests.
2022-08-08 21:33:30 +10:00
Peter Barker e92d4c6fc5 autotest: add test for WP_YAW_BEHAVIOUR 0
With behaviour 0 anbd typemask specifying ignore yaw/yaw_cds the yaw should reamin fixed
2022-08-08 21:33:03 +10:00
GiovanniRaseraF ea11238f7c Tools: added name to GIT_Success.txt 2022-08-08 21:32:29 +10:00
Peter Barker d7d473d1f9 autotest: correct assert_prearm_failure to not try to arm vehicle 2022-08-05 17:25:14 +10:00
Shiv Tyagi 5167cd1e48 SITL: set z component of precland device pos separately
The position vector passed to update method is relative to home and the precland device origin height is also relative to home. Hence, we
can set the height of precland origin separately in a 3d vec containing its position relative to home
2022-08-05 10:17:19 +10:00
Joshua Henderson b39642c675 Tools: web-filter save use comma instead of = 2022-08-05 10:16:51 +10:00
Henry Wurzburg 50591d1adf AP_Landing: change logging to be designated as streaming 2022-08-05 10:16:18 +10:00
Peter Barker 7284fbc978 autotest: allow more time for angle test to retrieve correct angle
Faster speedups mean we can simply not run this loop often enough to see the change
2022-08-04 16:49:28 +10:00
Iampete1 4e4bfda05d AP_InertialSensor: vector params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 b025a6d41d AP_Follow: vector params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 90780e52b3 AP_Param: remove AP_ParamV `=` operator 2022-08-03 13:43:48 +01:00
Iampete1 1a3391ebef AP_OpticalFlow: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 2b69e69f7e Tools: Replay: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 b3f09e5573 SITL: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 d62508b273 AP_Math: tests: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 3614a8e634 Rover: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 ed094ffc6b ArduSub: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 ac94ba33ff ArduCopter: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 16455b23a4 AntennaTracker: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 79b44b2517 SITL: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 8618b085be PID: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 338779d27d Filter: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 67fd8a1e49 AR_Motors: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 5893df9d9e AP_WindVane: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 0ef78c2f8b AP_VideoTX: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 d03f917ef4 AP_Terrain: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 0cb825e64d AP_SmartRTL: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 a0fc8cc46a AP_Scheduler: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 63e58e4fa1 AP_PiccoloCAN: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 59d75813cc AP_Param: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 2241766ed6 AP_Parachute: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 28007bfc1e AP_OSD: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 47105f0b03 AP_Mount: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 c1a9f75034 AP_Motors: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 8352a7b2b3 AP_Logger: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 ea03ea320c AP_InertialSensor: params always use set method 2022-08-03 13:43:48 +01:00