Commit Graph

55678 Commits

Author SHA1 Message Date
Andrew Tridgell
cc39bd08be AP_Mission: use Float16_t for NAV_SCRIPT_TIME 2022-10-23 12:14:14 +11:00
Andrew Tridgell
4121cc464d AP_Common: added Float16_t type 2022-10-23 12:14:14 +11:00
Andrew Tridgell
92f25150f6 AP_NavEKF3: fixed getLLH alt for local origin height
this fixes a bug introduced in #21834

this fix in #21834 was correct for getPosD, but should not have been
applied to getLLH

this caused cruise mode in plane to descend/ascend by the difference
between the public and local origins on mode entry

fixes #21984
2022-10-23 11:23:48 +11:00
Peter Barker
6d19f77325 autotest: add missing unpause_sitl() calls 2022-10-22 15:14:55 +11:00
Peter Barker
cafce7671d autotest: slow down specific tests so they pass 2022-10-22 15:14:55 +11:00
Peter Barker
02a6f71df4 autotest: change Copter default speedup time to 100 2022-10-22 15:14:55 +11:00
Andrew Tridgell
9fa3a433f5 Revert "AP_InertialSensor: disable temperature based fifo check on ICM20602"
This reverts commit 05f8e3c18d.

this leads to bad IMU data on ICM20602
2022-10-22 13:01:39 +11:00
Pierre Kancir
64774a2f92 GCS_MAVLink: fix always 0 division.
7/8 into array range bracket will be integral type, therefore 7/8 is reported as always 0.
2022-10-22 11:11:52 +11:00
Andrew Tridgell
1596516283 Tools: added new baro types 2022-10-22 08:15:36 +11:00
Andrew Tridgell
b96677c70d AP_Arming: use baro arming checks call 2022-10-22 08:15:36 +11:00
Andrew Tridgell
13893d3ed5 AP_Baro: added option to treat MS5611 as MS5607
and add arming check for pressure altitude error
2022-10-22 08:15:36 +11:00
Andrew Tridgell
bb1b2dafae AP_InternalError: only panic in SITL if debug enabled
a user recently had a flow of control panic in quadplane in
cygwin/missionplanner SITL. The panic this caused means we don't get
logging information on what line of code was triggered

the panic in SITL for internal errors is only useful if you have debug
information and can then attach a debugger. Without debug information
it is much better to behave the same as a real vehicle and report an
internal error (with line number)
2022-10-21 22:14:39 +11:00
Peter Barker
725b7b30ae GCS_MAVLink: remove more methods based on HAL_VISUSALODOM_ENABLED
Many of these mthods are calling another method which has no body when HAL_VISUALODOM is false
2022-10-21 15:03:35 +11:00
Willian Galvani
258d1a1e98 Tools: fix MOT_PWM_MIN/MAX for sub params 2022-10-20 23:42:14 -03:00
Randy Mackay
f2ed41f5cf AP_AHRS: pre-arm msg loses extra AHRS prefix 2022-10-21 08:07:39 +11:00
Peter Barker
1b7ced4e2e AP_RangeFinder: remove conversion code from 2019 2022-10-20 08:00:32 +11:00
Henry Wurzburg
1eb8b6d499 Plane:add info to LEVEL_ROLL_LIMIT description 2022-10-20 07:59:52 +11:00
Henry Wurzburg
3ef45c684f AP_Airspeed: generalize ARSPD_BUS metadata 2022-10-19 23:27:25 +11:00
Henry Wurzburg
38a546a6c6 Rover: update SRX descriptions 2022-10-19 23:26:45 +11:00
Henry Wurzburg
58f8c34211 ArduPlane: update SRX descriptions 2022-10-19 23:26:45 +11:00
Henry Wurzburg
ca80961a92 ArduCopter: update SRX descriptions 2022-10-19 23:26:45 +11:00
Andrew Tridgell
2d6080a52a autotest: added plane-3d model and parameters 2022-10-19 23:25:22 +11:00
Andrew Tridgell
256addc0f0 SITL: added plane-3d for aerobatic plane 2022-10-19 23:25:22 +11:00
Peter Barker
d04f4d8178 Copter: correct defines gating flowhold mode
We have an explicit define for this mode now
2022-10-19 21:56:14 +11:00
Andrew Tridgell
01a52a5427 hwdef: use minimal GPS driver (ublox only) on low flash boards
this buys us about 22k of flash
2022-10-19 21:07:22 +11:00
Peter Barker
117c5df6ca autotest: ensure optical flow mavlink status roughly correct 2022-10-19 21:00:48 +11:00
Peter Barker
1d326db931 ArduSub: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
Peter Barker
b741b9e76e ArduPlane: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
Peter Barker
6e25a3d52c ArduCopter: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
Peter Barker
342a5a71a9 GCS_MAVLink: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up 2022-10-19 21:00:48 +11:00
Andrew Tridgell
3ef1b1031a GCS_MAVLink: prevent segv in ftp
if the user disables ftp by changing BRD_OPTIONS after ftp has started
then we could dereference a nullptr
2022-10-19 19:09:24 +11:00
yaapu
89c30ae345 AP_Frsky_Telem: fixed roll and pitch for VTOL view 2022-10-19 18:36:58 +11:00
Iampete1
48ce8c4e16 AP_Scripting: binding gen: add number of argument to manual functions and generate docs for manual 2022-10-19 18:35:32 +11:00
Iampete1
a1607b954c AP_Scripting: docs: fix missing 2022-10-19 18:35:32 +11:00
Iampete1
00e0a0b06f github: workflows: add scripting docs compare 2022-10-19 18:35:32 +11:00
Iampete1
ac633dfe5e AP_Scripting: tests: add docs compare python script 2022-10-19 18:35:32 +11:00
khanasif786
1fe6d77eeb Plane: Max altitude for FBWB using Fence altitude 2022-10-19 18:28:52 +11:00
Andrew Tridgell
1421fccdac Plane: send HYGROMETER_SENSOR data if available 2022-10-19 13:17:30 +11:00
Andrew Tridgell
0858eb0dba GCS_MAVLink: send HYGROMETER_SENSOR message if data available 2022-10-19 13:17:30 +11:00
Andrew Tridgell
dc5492f9ca AP_Airspeed: support DroneCAN airspeed with hygrometer data
some DroneCAN airspeed sensors can send hygrometer data, for when they
have de-icing support
2022-10-19 13:17:30 +11:00
Andrew Tridgell
5ee251e39b Plane: release notes for 4.3.1beta1 2022-10-19 10:26:07 +11:00
Henry Wurzburg
80fdd48500 AP_Soaring: Correct metadata formatting 2022-10-18 09:38:47 -07:00
Iampete1
c623ae8b82 AP_Logger: MessageWriter: SysInfo: write RCOut string 2022-10-18 11:53:59 +11:00
Henry Wurzburg
ab29dd8241 AP_SOARING: correct metadata for speed params 2022-10-18 11:44:09 +11:00
Andy Piper
6b602cefec AP_SerialManager: only use the first defined serial port for RCIN 2022-10-18 11:20:25 +11:00
Andy Piper
c815f04e97 AP_RCProtocol: add has_uart() 2022-10-18 11:20:25 +11:00
Peter Barker
f75f68c2f1 GCS_MAVLink: add AP_MAVLINK_BATTERY2_ENABLED define
on by default but can be turned off in next stable
2022-10-18 11:12:49 +11:00
Peter Barker
ae1bddfb00 Rover: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Peter Barker
8f86cc85b5 Blimp: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Peter Barker
78808456af ArduSub: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00