Commit Graph

57833 Commits

Author SHA1 Message Date
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
David Buzz 819af19007 AP_HAL_ESP32: porting in from ESP32-S3 buzz prios, stack sizes, wifi driver
improvements

ESP32: udp thread was thrashing the cpu too much,  tcp thread was delaying too much, uart shouldn't have big delay, tweak wifi priorities
2023-05-02 14:38:03 +10:00
David Buzz acd1f48ed3 AP_HAL: doesn't need these subsystems
ESP32: disabled can on esp32 for now

ESP32: disable airspeed sensors on esp32buzz

ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all

of the compases on boot, as its super slow.

turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass

scr

comp

a

c
2023-05-02 14:38:03 +10:00
David Buzz 8da8163967 AP_HAL_ESP32: doesn't need these subsystems
ESP32: disabled can on esp32 for now

ESP32: disable airspeed sensors on esp32buzz

ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all

of the compases on boot, as its super slow.

turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass

scr

comp

a

c
2023-05-02 14:38:03 +10:00
David Buzz 81df897d88 AP_InternalError: imu resets aren't fatal on esp32 2023-05-02 14:38:03 +10:00
David Buzz a896ab9e71 AP_InertialSensor: quieten imu's on esp32
less noisy

ins debug

imu
2023-05-02 14:38:03 +10:00
David Buzz 46bc6d5122 AP_HAL_ESP32: quieten imu's on esp32
less noisy

ins debug

imu
2023-05-02 14:38:03 +10:00
David Buzz ac9ea370fd Tools: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone

a
2023-05-02 14:38:03 +10:00
David Buzz e2edfae79b AP_HAL: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone

a
2023-05-02 14:38:03 +10:00
David Buzz a31f01d505 AP_HAL_ESP32: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone

a
2023-05-02 14:38:03 +10:00
Daniel Tombeil 8b029777e2 AP_HAL_ESP32: Adding receive_time_constraint_us() to UARTDriver to address GPS init
and health issues

- more work on receive_time_constraint_us()
2023-05-02 14:38:03 +10:00
David Buzz ef3687b2af Tools: cpuinfo data 2023-05-02 14:38:03 +10:00
David Buzz c947ce3be3 Tools: fix the HAL double define 2023-05-02 14:38:03 +10:00
David Buzz f1af8bae0d Tools: on esp32 force constants to single-precision like chibios port does. 2023-05-02 14:38:03 +10:00
Andrew Tridgell 775f12387c waf: added -g option to configure
this adds debug symbolds to the build without enabling other debug
code. This is needed for analysing watchdog crash dumps
2023-05-02 10:38:24 +10:00
Michael du Breuil 29556ade25 Tools: Support MAX_RPM autotest 2023-05-02 10:23:55 +10:00
Michael du Breuil 04b16d1a79 Copter: Support checking max rpm in the takeoff check 2023-05-02 10:23:55 +10:00
Michael du Breuil 3de912f2b8 AP_ESC_Telem: Add support for a max rpm check on the motors running check 2023-05-02 10:23:55 +10:00