Commit Graph

58432 Commits

Author SHA1 Message Date
Pierre Kancir 442d4ba4e0 SITL: fix memory leak on multi fcu json sim 2023-05-09 20:39:04 +10:00
Jonathan Challinger 28598e82c0 AP_HAL_SITL: fix sitl_periph_gps build 2023-05-09 11:42:09 +10:00
Jonathan Challinger 4ef070956d AP_HAL_SITL: ADC resolution configurable by define, default to 16 bit 2023-05-09 11:42:09 +10:00
Andrew Tridgell 0b34df3328 autotest: update airspeed test for new message 2023-05-09 11:26:33 +10:00
Andrew Tridgell 20cbd8dd0b AP_Vehicle: change no airspeed sensor message
it should be INFO not WARNING as not having an airspeed sensor isn't
an issue if it is disabled
2023-05-09 11:26:33 +10:00
Iampete1 6bba31642e Actions: test_size: fix elf diff for vehicles 2023-05-09 11:12:25 +10:00
Peter Barker 30b87122e9 Tools: add script to make Bionic work with Python3 2023-05-09 11:09:25 +10:00
Peter Barker fbf63ce601 waf: reduce requirement for Python back to 3.6.9
so bionic can continue to function
2023-05-09 11:09:25 +10:00
Peter Barker 50140c7e60 initvagrant: do not build JSBSim on 18.04
cmake version issues make this problematic
2023-05-09 11:09:25 +10:00
pedro-fuoco c044ba67cc AP_DDS: Support single precision hw 2023-05-09 11:06:59 +10:00
Peter Barker 274379ea8a AP_Periph: include AP_ESC_Telem header
... since we insantiate one of these we should include its header
2023-05-09 10:56:13 +10:00
Peter Barker 3e1388b7e6 AP_OpticalFlow: add and use AP_OpticalFlow_config.h 2023-05-09 10:56:13 +10:00
Peter Barker da36de3b80 AP_MSP: add and use AP_MSP_config.h 2023-05-09 10:56:13 +10:00
Peter Barker 008eec5838 AP_Airspeed: correct includes
we use the msp sensors structure
2023-05-09 10:56:13 +10:00
Peter Barker 6c29079a76 AP_Periph: correct includes
we instantiate SerialManager - best include its header!
2023-05-09 10:56:13 +10:00
Henry Wurzburg 5e54d26ac5 AP_OSD: fix format of RF panel and check for out of range 2023-05-09 10:49:43 +10:00
Iampete1 bea98fa909 AP_Motors: test: fix for heli 2023-05-09 10:38:33 +10:00
Bredemeier, Fabian (TD-M) 8653bf7349 Tools: Add missing functions for Simulink model
Fixes #22643
2023-05-09 09:42:31 +10:00
Andrew Tridgell db60b2586e AP_Logger: expand servo status logging 2023-05-09 09:40:53 +10:00
Andrew Tridgell 7963ee8a13 AP_PiccoloCAN: expand servo status logging 2023-05-09 09:40:53 +10:00
Andrew Tridgell 29715e2a74 AP_DroneCAN: support Himark servo protocol 2023-05-09 09:40:53 +10:00
Gone4Dirt 78eb4a840d AP_MotorsHeli: Whitespace 2023-05-08 19:05:17 -04:00
Gone4Dirt 191ce55e1d AP_MotorsHeli: Remove pure virtuals and unnecessary overrides 2023-05-08 19:05:17 -04:00
Gone4Dirt 4b2c1368bd AP_MotorsHeli: move rotor_speed_above_critical to RSC so that it is actually used 2023-05-08 19:05:17 -04:00
Randy Mackay d3f2309eac AP_Scripting: viewpro driver uses camera state with Vector2f 2023-05-08 21:26:35 +10:00
Randy Mackay 2be750eaf8 AP_Scripting: camera state bindings use Vector2f 2023-05-08 21:26:35 +10:00
Randy Mackay 267cbf9a37 AP_Camera: camera state uses Vector2f 2023-05-08 21:26:35 +10:00
Randy Mackay ae09dc7d43 AP_Camera: remove unused tracking_p2 from camera state 2023-05-08 21:26:35 +10:00
Randy Mackay 7db3f27357 AP_Scripting: viewpro driver implements image tracking 2023-05-08 21:26:35 +10:00
Randy Mackay 24445a0c20 RC_Channel: aux function for camera image tracking 2023-05-08 21:26:35 +10:00
Randy Mackay 98636287fc AP_Scripting: camera state gets tracking 2023-05-08 21:26:35 +10:00
Randy Mackay a6cc9f042a AP_Camera: support image tracking 2023-05-08 21:26:35 +10:00
Randy Mackay 858a1e8b40 GCS_MAVLink: pass image tracking messages to AP_Camera 2023-05-08 21:26:35 +10:00
Randy Mackay b2c31f8ad4 AP_Camera: remove unused auto_focus from camera state 2023-05-08 21:26:35 +10:00
Randy Mackay 8131b5bc3b AP_Camera: add comments clarifying mavlink methods purpose 2023-05-08 21:26:35 +10:00
Iampete1 990db62235 AP_Scripting: generator: don't expose creation functions to all read only userdata 2023-05-08 19:43:24 +10:00
Iampete1 7a129e73cb AP_Scripting: bindings: remaining EFI_State to read and write 2023-05-08 19:43:24 +10:00
Iampete1 8fa2472148 AP_Scripting: userdata: allow read of enums and userdata 2023-05-08 19:43:24 +10:00
Andrew Tridgell 52cb59e61d AP_NavEKF3: handle core setup failure
ensure num_cores is left as zero so that calls such as Log_Write don't
de-reference nullptr
2023-05-08 16:28:08 +10:00
Andrew Tridgell 5a5c9d10a9 AP_NavEKF2: handle core setup failure
ensure num_cores is left as zero so that calls such as Log_Write don't
de-reference nullptr
2023-05-08 16:28:08 +10:00
Asif Khan 27d96eb64e AP_Mount: Support for pointing mount to circle center 2023-05-08 10:48:20 +10:00
Peter Barker 74b23adfac autotest: improve diagnostics when waiting for EKF state 2023-05-08 09:19:10 +10:00
Peter Barker 871797d436 hwdef: correct double-definitions of DEFAULT_NTF_LED_TYPES
these hwdefs include other hwdefs which define the samething.

Remove where identical to file beingincluded, undef otherwise
2023-05-07 20:13:44 +10:00
Peter Barker 791ce7a28e Tools: size_compare_branches.py: quieten rsync
this isn't necessary and makes the output more difficult to read
2023-05-07 09:04:02 +10:00
Peter Barker 85012b003e hwdef: correct compilation for KakuteF4Mini
we include KakuteF4 which also sets this define, so you end up with a redefinition error
2023-05-06 21:59:58 +10:00
Iampete1 81f3d3edda AP_Motors: Heli: get_output_mask return only motors 2023-05-05 22:20:16 -04:00
Andrew Tridgell e492f49470 Tools: use py3 for sim_vehicle.py 2023-05-06 10:09:04 +10:00
Andrew Tridgell 3371296e39 waf: use python3 even if /usr/bin/python is v2 2023-05-06 10:09:04 +10:00
Andrew Tridgell ce703cbed7 HAL_ChibiOS: fixed asserts in AnalogIn driver
when building with --enable-asserts on boards with ADC1 and ADC3
(eg. Holybro H7 based boards) we were triggering asserts on bad ADC
index. In order to preserve the asserts (which are good for catching
errors) we need to ifdef the relevant calls
2023-05-06 07:24:58 +10:00
ES-Alexander a43680e882 Tools: scripts: create mavlink_parse.py
A parser that finds incoming, requestable, and outgoing MAVLink messages for each vehicle.
May not indicate full support, but at least shows the messages which are handled in the code.

Optionally also:
- finds incoming commands
- finds unsupported messages (and commands)
- breaks out messages in the search groups for the selected vehicle
- allows specifying a header for the markdown file output

Requires Python >= 3.11
2023-05-05 09:43:54 +02:00