Commit Graph

57900 Commits

Author SHA1 Message Date
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
pedro-fuoco 57c2753bdd AP_DDS: Add GeoPose support
* Add GeoPoint.idl
* Add GeoPose.idl
* Add GeoPoseStamped.idl
* Update geopose topic name to follow #23603
* Add GeoPose topic support

Co-authored-by: Pedro Fuoco <pedrofuoco6@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-05 12:02:31 +10:00
Andrew Tridgell 671906ed62 Tools: option to not reconfigure on each sim_vehicle.py run
saves some time with rapid small code changes
2023-05-05 11:26:54 +10:00
Andrew Tridgell ed6352f8c0 github: disable py2 testing 2023-05-05 08:54:03 +10:00
Andrew Tridgell 91496a1e22 waf: require python 3.8.0 or later
for 4.5.x we no longer support py2
2023-05-05 08:54:03 +10:00
Peter Barker 40a3e076fc autotest: bisect-helper.py: improve py2 compatability, improve diagnostics 2023-05-04 13:01:18 +10:00
Peter Barker 237bcf7b7a Tools: remove old bufsize parameters 2023-05-04 13:00:48 +10:00
Peter Barker 013d7541b7 autotest: add progress file for enable-in-turn 2023-05-04 13:00:16 +10:00
Peter Barker c0dc3636d2 autotest: stop vehicle from entering RTL instantly when it enters auto
Test failure because we instantly reached the waypoint and did the RTL - so the change-mode-to-auto never saw us in auto mode
2023-05-03 19:30:11 -07:00
Henry Wurzburg fc42f8f9be AP_HAL_ChibiOS: move NTF_LED_TYPES from defaults to hwdef 2023-05-04 07:45:12 +10:00
Henry Wurzburg d8247d35f5 AP_Notify: change BUILD_DEFAULT_LED_TYPE to new pattern 2023-05-04 07:45:12 +10:00
Henry Wurzburg 1f4f3bf32a AP_HAL_ESP32: change BUILD_DEFAULT_LED_TYPE to new pattern 2023-05-04 07:45:12 +10:00
Henry Wurzburg 8293c1f8c9 AP_HAL_ChibiOS: change BUILD_DEFAULT_LED_TYPE to new pattern 2023-05-04 07:45:12 +10:00
Rhys Mainwaring be80cb12ef Tools: update ROS 2 README
- Correct paths to ros2.repos file.
- Improve build and install instructions.
- Add dependency check to build step.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-04 07:21:20 +10:00
Peter Barker 73b0ce6db8 AP_RCProtocol: define accepted RC backends for IOMCU in its hwdef files 2023-05-03 19:06:33 +10:00
Peter Barker 43f9f08b8f AP_HAL_ChibiOS: define accepted RC backends for IOMCU in its hwdef files 2023-05-03 19:06:33 +10:00
Peter Barker a4ee729035 hwdef: airbotf4: minimize this board
not currently building.

The FLASH_RESERVE_START_KB at 64 means we're short on space on this board
2023-05-03 18:35:26 +10:00
Peter Barker a7a6333dea .github: add env test for lunar 2023-05-03 17:13:20 +10:00
Peter Barker 9b01495f96 Vagrantfile: allow for Lunar install 2023-05-03 17:13:20 +10:00
Peter Barker 12ccc15d90 Tools: install_prereqs_ubuntu: allow for Lunar install
notably we have to use a venv now-adays
2023-05-03 17:13:20 +10:00
Andrew Tridgell 601036c07b AP_Scripting: added example that slew a servo with controls
useful for measuring servo capabilities by looking at achieved
deflection vs frequency
2023-05-03 15:23:01 +10:00
arshPratap fbc7a6dd9b AP_DDS: support UDP transport
and switch serial transport to use custom transport
2023-05-03 15:22:42 +10:00
arshPratap aa25461bbe AP_Vehicle: split off start() method in DDS
this allows for an DDS_ENABLED parameter
2023-05-03 15:22:42 +10:00
Andrew Tridgell a35bf1c373 Tools: use correct astype options in run_astyle.py 2023-05-03 15:22:42 +10:00
Stephen Dade e01b359462 AP_Scripting: Check for battery in MAVLinkHL and Rockblock 2023-05-03 09:59:53 +10:00
Andy Piper 95437d248f AP_HAL_ChibiOS: advanced timers are now determined automatically on L4+ 2023-05-03 07:39:39 +10:00
Andrew Tridgell 7a6f2c8e28 waf: cope with python 3.11 2023-05-02 23:37:15 +10:00
Peter Barker cda2e0f30c Tools: bisect-helper.py: require a failure string if doing a --build 2023-05-02 22:25:56 +10:00
David Buzz a9bb6745a6 Tools: improve esp32 tool for getting the esp_idf/compiler/etc and giving user better help. 2023-05-02 14:38:03 +10:00
David Buzz c68b2bc2be AP_HAL: make all esp32 boards use 16 channels, not 32. 2023-05-02 14:38:03 +10:00
David Buzz 1b3534e996 AP_HAL_ESP32: make all boards use 16 channels, not 32. 2023-05-02 14:38:03 +10:00
David Buzz dc28cdecd2 AP_HAL_ESP32: bump up ftp and log_io thread size 2023-05-02 14:38:03 +10:00
David Buzz 9a63fc2d30 AP_HAL_ESP32: 4.2 updated sdkconfig 2023-05-02 14:38:03 +10:00