Commit Graph

41978 Commits

Author SHA1 Message Date
Samuel Tabor
ae27f96361 SITL: Make soaring thermals slanted. 2020-04-08 09:11:54 +10:00
Samuel Tabor
a18d6e925d AP_Soaring: Improved default sim parameters. 2020-04-08 09:11:54 +10:00
Samuel Tabor
013628bd1d Plane: Soaring - better reporting of exit due to drift. 2020-04-08 09:11:54 +10:00
Samuel Tabor
e1b2360781 AP_Soaring: Add a maximum allowable drift distance when thermalling. 2020-04-08 09:11:54 +10:00
Samuel Tabor
96bc0e1e03 Plane: Soaring: Reset loiter.sum_cd when good to continue thermalling, so that exit heading acceptance criteria does not grow. 2020-04-08 09:11:54 +10:00
Samuel Tabor
e7736fb5e7 AP_Soaring: Line up on current, not next, nav command. 2020-04-08 09:11:54 +10:00
Samuel Tabor
936d4232c9 AP_Soaring: Add a 60s first order filter on climb rate. If this becomes negative exit thermalling. 2020-04-08 09:11:54 +10:00
Samuel Tabor
a56b1dadb9 Plane: fix bug with headingLinedUp when loiter.sum_cd was negative. 2020-04-08 09:11:54 +10:00
Samuel Tabor
30249e8006 AP_Soaring: Add a check of whether altitude has been lost overall when thermalling. 2020-04-08 09:11:54 +10:00
Samuel Tabor
5082c9be8b SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings. 2020-04-08 09:11:54 +10:00
Tom Pittenger
394fbb1a50 Plane: unified soaring exit behavior: auto heads to next wp, cruise continues cruise heading, FBW to home 2020-04-08 09:11:54 +10:00
Tom Pittenger
f24095e9ed AP_Soaring: inhibit msg spam when lingering in loiter waiting for heading to line up 2020-04-08 09:11:54 +10:00
Samuel Tabor
3211c03f58 AP_Soaring: Remove unused methods, clean up and log position in N/E rather than Lat/Lng.
Fix
2020-04-08 09:11:54 +10:00
Samuel Tabor
152c1507e0 AP_Soaring: Make the EKF states the actual NE position of the thermal, rather than the position relative to aircraft. 2020-04-08 09:11:54 +10:00
Samuel Tabor
d7abd296ef AP_Soaring: Avoid calculations in lat/lng. 2020-04-08 09:11:54 +10:00
Samuel Tabor
0cccc8dc29 AP_Soaring: Fix issue with loiter radius being saved as zero due to initialisation order. This caused incorrect calculation of thermal climb potential and cases of staying in thermals that should have been abandoned. 2020-04-08 09:11:54 +10:00
Samuel Tabor
c135b00b7b AP_Soaring: Remove redundant check for new vario data. 2020-04-08 09:11:54 +10:00
Samuel Tabor
64460be0d0 AP_Soaring: Implement vario based on acceleration rather than differentiated airspeed. 2020-04-08 09:11:54 +10:00
Tom Pittenger
ce9450846b Plane: fix soaring typo 2020-04-08 09:11:54 +10:00
Tom Pittenger
ec8f82422a Plane: move loiter heading init for auto into auto helper, and properly reset it in loiter mode enter 2020-04-08 09:11:54 +10:00
Tom Pittenger
fd4b7c823e Plane: improved soaring exit options 2020-04-08 09:11:54 +10:00
Tom Pittenger
f397c168e8 Plane: refactor loiter heading exit logic 2020-04-08 09:11:54 +10:00
Tom Pittenger
f6396d7a6d Plane: add reason to exit Thermal loiter and adjust LOW alt reaon to cause RTL 2020-04-08 09:11:54 +10:00
Tom Pittenger
52ae093a97 AP_Soaring: add reason to exit Thermal loiter 2020-04-08 09:11:54 +10:00
Michael du Breuil
73c5c2e1bb AP_Arming: Check that sticks are neutral 2020-04-07 14:01:12 -07:00
Michael du Breuil
5104e4bd13 Rover: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07:00
Michael du Breuil
132fe82ad2 Copter: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07:00
Michael du Breuil
9600eea394 Plane: Report what channel is used for rudder arming 2020-04-07 14:01:12 -07:00
Michael du Breuil
2b9aa9bc21 RC_Channel: Add option bit for arming checking the throttle input (opt-in)
Also adds interface to find out what channel is used for rudder arming
2020-04-07 14:01:12 -07:00
murata
7ec0cb47a5 AP_Compass: const extern hal reference 2020-04-07 20:45:51 +09:00
murata
f83f6c71e4 AP_Logger: const extern hal reference 2020-04-07 20:45:51 +09:00
murata
264a90bb45 AP_Logger: Change to coding style (NFC)
AP_Logger: Change to coding style (NFC)
2020-04-07 20:37:33 +09:00
Rishabh
de6aaeaf76 Rover: Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Rishabh
a9cacc8756 Plane: Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Rishabh
7c4b195488 Copter:Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Rishabh
b1cb3b10ca Tracker: Logger documentation TimeUS and typo fix 2020-04-07 18:57:01 +10:00
Rishabh
08d9553a0f Sub: Logger documentation TimeUS and typo fix 2020-04-07 18:57:01 +10:00
Rishabh
76b4e42bca AP_Logger: Logger documentation TimeUS and typo fix 2020-04-07 18:57:01 +10:00
Rishabh
fe4d1f9316 AC_AutoTune: Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Rishabh
b0134460e5 AP_NavEKF:Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Rishabh
eeb55f8b16 TECS: Logger documentation TimeUS fix 2020-04-07 18:57:01 +10:00
Peter Barker
59dfaad749 SITL: provide method to retrieve desired speedup 2020-04-07 14:51:32 +10:00
Peter Barker
5881692e4f autotest: sub: fix altitude-hold for being below target altitude 2020-04-07 14:51:32 +10:00
Peter Barker
78e432af0c AP_HAL_SITL: do not let outbound queue length to grow too far
This basically limits our loop rate to whatever is listening on uartA
can handle in terms of mavlink traffic.
2020-04-07 14:51:32 +10:00
Peter Barker
7028eb8d24 AP_HAL_SITL: provide method to get amount of data still pending in outbound system queues 2020-04-07 14:51:32 +10:00
Peter Barker
2b18b0f480 Sub: add D16, D32, DFLT, DU16 and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
Peter Barker
2670192c41 Copter: add D16, D32, DFLT and DU32 LogMessage documentation 2020-04-07 10:41:22 +10:00
bugobliterator
9d7022514e HAL_SITL: ensure that unique id string end in null char 2020-04-07 09:40:05 +10:00
Pierre Kancir
c4fa6fee9a Tools: completion: add completion for autotest.py 2020-04-07 09:16:33 +10:00
Pierre Kancir
6dce7a88d4 Tools: completion: small correction to zsh 2020-04-07 09:16:33 +10:00