Commit Graph

43961 Commits

Author SHA1 Message Date
Andrew Tridgell
bfa2feb8d8 AP_Compass: fixed build warnings for MSP with AP_Periph 2020-09-15 09:40:03 +10:00
Andrew Tridgell
7daf8d3cd4 AP_Baro: fixed build warnings for MSP with AP_Periph 2020-09-15 09:40:03 +10:00
Andrew Tridgell
ae2e84b3df AP_Periph: fixed mavlink build warnings 2020-09-15 09:40:03 +10:00
Andrew Tridgell
27a85ef51c AP_CANManager: fixed build warning for stack size
dynamically allocate test objects instead of putting on the stack
2020-09-15 09:40:03 +10:00
Andrew Tridgell
cd1502ab72 SITL: fixed string warnings 2020-09-15 09:40:03 +10:00
Andrew Tridgell
6803408453 AP_UAVCAN: fixed string warnings 2020-09-15 09:40:03 +10:00
Andrew Tridgell
930726ca9a AP_Logger: fixed string warnings 2020-09-15 09:40:03 +10:00
Andrew Tridgell
8b95fac214 Tools: added --Werror option to autotest.py 2020-09-15 09:40:03 +10:00
Randy Mackay
ab54f8805a Copter: guided mode checks dest before changing submode 2020-09-15 08:36:39 +09:00
vierfuffzig
ca95e7865a AP_OSD_Param_Setting: fix copter FS_OPTIONS mnemonics 2020-09-15 09:26:46 +10:00
Peter Barker
45b42e290c travis: name the test jobs 2020-09-15 09:18:04 +10:00
Peter Barker
3f2c06f8c0 build_ci.sh: correct cron job check against 'linux'
We don't actually run this cronjob.
2020-09-15 09:18:04 +10:00
Iampete1
f350bfba78 SITL: JSON: don't warn for none required sections 2020-09-15 08:12:29 +10:00
Andrew Tridgell
2bc7d17e7a AP_NavEKF3: improved core comparison to check alignment
this adds coreBetterScore() which takes account of tilt and yaw
alignment when comparing cores for lane switching

this ensures we don't switch to a lane that is unaligned due to the
zero error score for unaligned lanes
2020-09-14 20:29:04 +10:00
Andrew Tridgell
067001bd61 AP_NavEKF2: take into account alignment when comparing cores
ensure we don't switch to a lane that does not have yaw or tilt
alignment from a lane that is aligned
2020-09-14 20:29:04 +10:00
Peter Barker
0bb44ba933 waf: print compiler version as part of configure 2020-09-14 18:11:31 +10:00
Peter Barker
466d61a881 Tools: build_log_message_documentation.sh: compress log message documentation files 2020-09-14 13:29:05 +10:00
Tatsuya Yamaguchi
5ea1fde6ee RC_Channel: update RCx_OPTION's @Values order 2020-09-14 13:27:53 +10:00
Andrew Tridgell
96dd354131 AP_ICEngine: check for valid RC input for ICE 2020-09-14 12:20:55 +10:00
Andrew Tridgell
890fc96d20 AP_ICEngine: added ICE_STARTCHN_MIN
this gives a min PWM value to trigger an engine stop. It makes RC
glitches leading to engine stop much less likely
2020-09-14 12:20:55 +10:00
Dan Laks
54c827a792 AP_ICEngine: Initialize start_chan_last_value and catch RC values less than 800 2020-09-14 12:20:55 +10:00
Andrew Tridgell
23da0ea8b6 AP_ICEngine: add debounce to RC input for ICE_START_CHAN 2020-09-14 12:20:55 +10:00
Peter Barker
5c22e9e105 Revert "Tools: make non DEBUG SITL use -march=native"
This reverts commit 85b599b2d7.

This breaks the cygwin binaries that MissionPlanner uses for simulation
2020-09-14 11:19:11 +10:00
Michael Oborne
f235c620b2 AP_CANManager: Remove Param keyword identifier 2020-09-14 10:40:16 +10:00
Iampete1
f5172cdecf AC_Avoid: hide params with enable flag 2020-09-14 08:54:13 +09:00
Hwurzburg
f78a09ba2a AP_OSD: fix white space error preventing emit to Wiki 2020-09-13 12:16:57 +10:00
Andy Piper
3bbac765f0 AP_Logger: correct units on raw accel data 2020-09-13 12:15:33 +10:00
dmitry
94d2f4ea0e SITL_AirSim: moved NED position initialization
out of always false if -statement
2020-09-13 08:04:09 +10:00
Randy Mackay
4ed486bb92 AC_AttitudeControl: revert Add PosControl PID logging 2020-09-12 08:10:33 +09:00
Randy Mackay
36dee8791a AP_Logger: revert adding PSCP log structure 2020-09-12 08:10:33 +09:00
Peter Barker
3e882fcad8 autotest: loosen mag-percent-complete threshold to 95%
So 98% wasn't loose enough...
2020-09-11 15:31:45 +10:00
Harshit Kumar Sankhla
f0c237d88e autotest: bug fixes for ekf lane switch test 2020-09-11 10:16:20 +10:00
Iampete1
c109df3dd5 AC_AttitudeControl: Add PosControl PID logging 2020-09-11 10:12:08 +10:00
Iampete1
9753a20404 AP_Logger: add PSCP log structure 2020-09-11 10:12:08 +10:00
Iampete1
e955b431ef AC_PosControl: move to structure logging for PSC 2020-09-11 10:12:08 +10:00
Iampete1
02c225ee93 AP_Logger: add structure for PSC message 2020-09-11 10:12:08 +10:00
Jim Stockwell
1565c69943 AC_HELI_PID: spelling in comment, leaded -> leaked 2020-09-11 08:39:58 +09:00
Peter Barker
796cc72344 autotest: remove parameters with default values from copter.parm
Setting these just takes time we don't need to spend
2020-09-11 08:02:38 +10:00
Samuel Tabor
f926dc62ed AP_Soaring: Reduce default value for minimum cruise time. 2020-09-10 09:18:52 -07:00
Samuel Tabor
e0f524d425 Plane: Soaring: Use circling time as timeout if less than 20s. 2020-09-10 09:18:52 -07:00
Samuel Tabor
6de4967a3d autotest: Fix typos and unclear comments in soaring test. 2020-09-10 22:21:41 +10:00
Samuel Tabor
ad48394b50 Plane: Add comment to clarify additional 10m in soaring altitude target. 2020-09-10 22:21:41 +10:00
Samuel Tabor
87530c1b2b Plane: Soaring: Remove exit_mode argument from soaring_restore_mode. 2020-09-10 22:21:41 +10:00
Samuel Tabor
f6017d60bf autotest: Update for new soaring behaviour. 2020-09-10 22:21:41 +10:00
Samuel Tabor
59f4c7a3c0 Plane: Allow auto climb back to SOAR_ALT_CUTOFF when soaring in FBWB or CRUISE modes. 2020-09-10 22:21:41 +10:00
Samuel Tabor
440d17e0de AP_Soaring: Add accessor for SOAR_ALT_CUTOFF. 2020-09-10 22:21:41 +10:00
Peter Barker
dd8361ba33 AP_RangeFinder: remove default case from Rangefinder init switch
Allows the compiler to help the programmer fill in required code
2020-09-10 20:52:06 +10:00
Andy Piper
04b3b1f4c2 AP_OSD: re-enable OSD parameters on 1Mb boards since it wasn't doing anything
Make sure OSD parameters can be disabled in hwdef.dat
2020-09-10 18:10:32 +10:00
Andy Piper
570fd59c39 AP_HAL_ChibiOS: disable OSD parameters on F7 1Mb boards with SD cards 2020-09-10 18:10:32 +10:00
Pierre Kancir
85b599b2d7 Tools: make non DEBUG SITL use -march=native 2020-09-10 15:16:18 +10:00