Lucas De Marchi
7520cdef2f
AP_RangeFinder: update minimum fw version of TFMiniPlus
...
Version 2.0.3 has important fixes to avoid having the sensor to lock up.
Let's make sure we check for it and warn on console.
2019-09-23 12:56:13 +09:00
Andrew Tridgell
c40e0ffb6b
Copter: fixed EKF threshold for arming
...
when EKF failsafe is disabled by setting threshold to zero we need to
disable this arming check
2019-09-23 09:48:39 +09:00
Peter Hall
c71cbe2729
APM_Control: AR_AttitudeControl: add description for new PID params
2019-09-23 09:45:46 +09:00
Andrew Tridgell
e9f8b91134
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10:00
Andrew Tridgell
05d62c62bb
AP_NavEKF3: fixed use of uninitialised variable in EKF3 mag fusion
...
not all elements of H_MAG are initialised, but they are used, as found
by valgrind
2019-09-22 21:06:36 +10:00
Andrew Tridgell
8a05feb9d3
Tools: use --track-origins=yes in valgrind for sim_vehicle.py
...
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:06:36 +10:00
Andrew Tridgell
c93d73b678
Plane: change master version to 4.1.0dev
2019-09-22 20:20:16 +10:00
Andrew Tridgell
386e7dc3e8
HAL_ChibiOS: fixed delay for OneShot125 channels
...
we were delaying output for OneShot125 by 8x as much as we need to,
which reduced our max loop rate
2019-09-22 19:43:35 +10:00
Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
2019-09-22 18:35:15 +10:00
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
2019-09-21 22:26:03 +10:00
Andrew Tridgell
c6f43e9700
AP_NavEKF3: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Andrew Tridgell
1d47f9186e
AP_NavEKF2: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Andrew Tridgell
d7ee622edc
AP_Logger: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Lucas De Marchi
5f65033511
AP_RangeFinder: add missing overrides
2019-09-21 08:01:08 +10:00
Lucas De Marchi
ce877ba40a
AP_RangeFinder: fix build
2019-09-21 08:01:08 +10:00
Randy Mackay
7c2c6dbab3
Rover: pre-arm check that WP_SPEED is positive
2019-09-20 09:01:57 +09:00
Peter Barker
de3c9340cb
Tools: autotest: correct timeout on heli spline mission
2019-09-19 22:39:10 +10:00
Andrew Tridgell
108d7fa024
AP_Logger: added logging of extra loop time from the scheduler
2019-09-19 18:25:20 +10:00
Andrew Tridgell
79acaeaef1
AP_Scheduler: cope with high CPU load by stretching loop times
...
this adds an extra budget of time per loop when we are not achieving
scheduled tasks at a rate of at least 1/8 of the desired rate. This
fixes an issue where a vehicle can become uncontrollable if the user
asks for a SCHED_LOOP_RATE which is not achievable. As these events
happen we add extra loop budget until we are able to run all tasks. We
drop the extra time when the CPU pressure eases.
2019-09-19 18:25:20 +10:00
Andrew Tridgell
3d9f393f4b
SITL: added SIM_LOOP_DELAY parameter
...
this allows us to test high CPU load conditions by adding a delay to
each loop
2019-09-19 18:25:20 +10:00
Michael du Breuil
95bca05322
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
2019-09-19 10:48:25 +09:00
Michael du Breuil
5000891a76
GCS_MAVLink: remove some unused includes
2019-09-19 10:48:25 +09:00
Peter Barker
1c187d8feb
AP_NavEKF3: correct return of empty prearm string
2019-09-19 08:47:47 +09:00
Peter Barker
3619856fc9
AP_NavEKF2: correct return of empty prearm string
2019-09-19 08:47:47 +09:00
Randy Mackay
398f427830
AP_Proximity: fix rangefinder backends cm to m conversion
2019-09-19 08:43:11 +09:00
Peter Barker
f3eaf9ee6e
Tools: autotest: more coverage out of the dataflash-over-mavlink tests
2019-09-19 08:46:55 +10:00
Peter Barker
1f25b6e406
Tools: autotest: add test for SITL implementation of Block backend
2019-09-18 17:42:18 +10:00
Peter Barker
5e6b6ee0e0
Sub: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
5730808778
Plane: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
9b398e8765
Copter: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
37293b1cf4
Rover: remove stale defines for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
0031deb175
Copter: correct abs vs fabsf usage in Attitude
2019-09-18 12:57:02 +10:00
Peter Barker
9cd30083a4
AC_AutoTune: correct abs to fabsf for roll_cd and pitch_cd
2019-09-18 12:57:02 +10:00
Peter Barker
d32a7b3a29
Sub: wrap_180_cd no longer returns floats for integer arguments
2019-09-18 12:57:02 +10:00
Peter Barker
8ee411e998
AP_L1_Control: wrap_180_cd no longer solely returns floats
2019-09-18 12:57:02 +10:00
Peter Barker
7fbaea7971
APM_Control: wrap_180_cd no longer solely returns floats
2019-09-18 12:57:02 +10:00
Peter Barker
a1ce8dafb0
Copter: wrap_180_cd no longer returns floats for integer arguments
2019-09-18 12:57:02 +10:00
Peter Barker
5692f3d79e
AP_Math: stop returning float for integer wrap_180/wrap_360 etc
2019-09-18 12:57:02 +10:00
Peter Barker
84d999142f
AP_Math: add more tests for wrap functions
2019-09-18 12:57:02 +10:00
Peter Barker
cefd30a086
travis: run balancebot tests as part of CI
2019-09-18 09:10:37 +10:00
Ebin
61e05ce881
Autotest: ATC_SPEED params for Balance Bot tweaked for better stability
2019-09-18 07:07:08 +10:00
Ebin
38c9763d48
Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10
2019-09-18 07:07:08 +10:00
Ebin
c449be3afb
Autotest: Balance Bot changes to Acro after Auto mission instead of Loiter
2019-09-18 07:07:08 +10:00
Willian Galvani
f86a712a14
Sub: default RNGFNDR1_TYPE to mavlink
2019-09-17 07:06:06 -07:00
Peter Barker
8736a13a87
Tools: autotest: fix for Plane receiver health test
...
Won't be healthy until SITL is repolled for RC input
2019-09-17 13:31:06 +10:00
Randy Mackay
cba03da59a
Copter: version to 4.0.0-dev
2019-09-17 11:39:47 +09:00
Randy Mackay
981b2b1d50
Rover: version to 4.0.0-dev
2019-09-17 11:39:47 +09:00
Randy Mackay
bce5154b2d
Copter: compassmot and motor_test set_soft_armed
2019-09-17 11:26:57 +09:00
Peter Barker
1a7284ca73
Tools: autotest: add test for spline-as-last-waypoint
2019-09-17 09:05:23 +09:00
Peter Barker
56de1f2eed
AC_WPNav: do not calculate NEU vector from invalid location
2019-09-17 09:05:23 +09:00