Commit Graph

58030 Commits

Author SHA1 Message Date
Ferruccio Vicari d5918c5205 AP_OSD: support for main rotor rpm
displays main rotor rpm in OSD
2023-05-14 06:17:33 +10:00
Peter Barker 67537b1806 SITL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Peter Barker 4ed4c2d554 AP_HAL_SITL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Peter Barker 6943ea59b1 AP_HAL: add simulator for RDS02UF rangefinder 2023-05-13 20:05:18 +10:00
Peter Barker 96ae4367a2 autotest: correct behaviour when process dies
interacting with the dead process isn't going to work
2023-05-13 20:04:50 +10:00
Peter Barker 2d862758e7 Tools: size_compare_branches: avoid elf_diff when not requested 2023-05-13 20:04:25 +10:00
Andrew Tridgell 7e84028a91 HAL_ChibiOS: fixed sdcard lockup with SPI sdcard
this affects boards that share sdcard on the same bus as another SPI
device. In this case it was a QiotekZealotH743 where logging stopped

this issue is that the SPI hooks for MMC SPI did not do a DMA channel
lock before the SPI device lock. So when the RAMTRON driver on the
QiotekZealotH743 which is on the same SPI2 bus as the sdcard did an
operation we had a lock order violation
2023-05-13 18:18:14 +10:00
Andrew Tridgell ec4b465fea ChibiOS: added sdcard SPI bus acquire hooks 2023-05-13 18:18:14 +10:00
Iampete1 a2f2437434 Tools: web: FilterReview: move to tensorflow FFT for 3x speedup 2023-05-13 18:04:13 +10:00
Iampete1 d54503346f Tools: Web: FilterReview: move to array functions to remove loops where posible 2023-05-13 18:04:13 +10:00
Iampete1 20d4274e24 Tools: Web: FilterReview: fix bug with none continuous sensor instances 2023-05-13 18:04:13 +10:00
Iampete1 819b867b00 Tools: Web: FilterReview: update to latest version on of parser from https://github.com/Williangalvani/JsDataflashParser 2023-05-13 18:04:13 +10:00
Ryan Friedman 925e9d8cbc AP_HAL: Add reference to sparse endian manpage
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-13 11:32:38 +10:00
Ryan Friedman b8f59b0df5 AP_GPS: Remove unused member variable in gsof driver
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-12 19:19:43 +10:00
Tom Pittenger a47e125c1f Tools: add ./waf --upload-force arg to allow uploader.py to do --force 2023-05-12 07:14:52 +10:00
Peter Barker 5483f07d28 Tools: size_compare_branches.py: add --parallel option 2023-05-12 07:12:41 +10:00
Tom Pittenger 3b9c2bb185 Tools: WSL2 python.exe uploader.py stdout to be unbuffered via -u 2023-05-12 07:12:07 +10:00
Rhys Mainwaring 21ea0d9794 Tools: ROS 2 update launch scripts and tests
Add launch module to ardupilot_sitl package
- Move body of launch scripts into package for reuse.
- Add utilities module.

Update launch scripts
- Provide type hints.
- Add arguments to sitl.launch.py.
- Fix formatting bug in sitl.launch.py home argument.

Update micro_ros_agent launch script
- Modify import for lauch_ros.actions.Node.
- Change argument order in node initialiser.
- Add args for UDP transport and set as default.

Update ROS 2 DDS default params
- Add default params for both serial and UDP transports.
- Add DDS_ENABLE.

Rename ROS 2 sitl_dds launch script
- Rename sitl_dds launch script with serial suffix.
- Add launch script for UDP transport.

Update ROS 2 launch test fixtures
- Make common test fixtures more granular.
- Add fixtures and tests for UDP transport.
- Update ROS 2 package.xml dependencies
- Use yield rather than return in test fixtures.
- Use ardupilot_sitl launch module directly.
- Correct return type descriptions.
- Fix flake8 failure.

Update ROS 2 README
- Update launch instructions.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +10:00
Rhys Mainwaring af534b5b91 Tools: ROS 2 move python package directory
- Move the Python package for ardupilot_sitl into src.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +10:00
Rhys Mainwaring bb8f53742d Tools: ROS 2 add debug config
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-05-12 07:11:25 +10:00
Ryan Friedman 4b2687352c AP_GPS: Add const and WARN_IF_UNUSED to AP_GPS_GSOF
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-05-11 10:41:17 -07:00
Iampete1 c1fe95f726 Tools: Web: Add FFT batch log review tool 2023-05-11 21:16:21 +10:00
Henry Wurzburg b4f9992ab7 AP_SerialManager: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg 2ddaa65b23 AP_HAL: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg 71992d4604 AP_HAL_ESP32: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg d0ac8f3016 AP_HAL_ChibiOS: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Peter Barker 8ac9a7561c AP_Notify: add driver for LP5562 LED 2023-05-11 11:08:50 +10:00
Peter Barker 19d2659179 SITL: add simulator for LP5562 RGBLED 2023-05-11 11:08:50 +10:00
Peter Barker 52d5fbad39 waf: SITL: define bus+addr for LP5562 2023-05-11 11:08:50 +10:00
Andrew Tridgell b019978e22 hwdef: use zero address for INA2XX to allow for different sensors 2023-05-10 18:15:52 +10:00
Andrew Tridgell e2041e10b5 AP_BattMonitor: auto-probe INA2XX address if address is zero
this makes life easier for users who don't know which device they have
2023-05-10 18:15:52 +10:00
Andrew Tridgell 5227b99a39 AP_BattMonitor: support INA228 and INA238 battery monitor
I2C monitors with similar functionality to INA226
2023-05-10 18:15:52 +10:00
Andrew Tridgell 2b45b235ad AP_ICEngine: fixed a bug engine control when running
if you have a mission item for engine control with delayed start at
height and the engine is already running them it would put the ICE
subsystem into a state where it would no longer start the engine

It was actually 2 bugs:

 - an engine control to do a height delayed start should be ignored if
   the engine is already running. This prevents an engine control to
   start the engine from stopping the engine

 - a start_chan high should always try to start the engine
   immediately, even if in the wait state
2023-05-10 18:01:21 +10:00
Iampete1 a20841e166 Plane: correct AETR log description ranges 2023-05-10 17:28:49 +10:00
Randy Mackay d6eb11d27e AP_HAL_ChibiOS: JFB100 LED definition fix 2023-05-10 17:24:02 +10:00
Randy Mackay 217ba502ac AP_InertialSensor: SCHA63T comment fix 2023-05-10 17:24:02 +10:00
Randy Mackay 9c44d79241 AP_HAL_ChibiOS: JFB100 board def fixup 2023-05-10 17:24:02 +10:00
Randy Mackay 9d9de678a5 AP_InertialSensor: SCHA63T loses unused ret bool 2023-05-10 17:24:02 +10:00
jfbblue0922 b58dfd4224 Tools: add JFB100 bootloader 2023-05-10 17:24:02 +10:00
jfbblue0922 79f5cdaf04 AP_HAL_ChibiOS: add JFB100 board definition 2023-05-10 17:24:02 +10:00
Randy Mackay 7c2a173f30 AP_InertialSensor: formatting fixes 2023-05-10 17:24:02 +10:00
jfbblue0922 458fbb7f90 AP_InertialSensor: add SCHA63T IMU support 2023-05-10 17:24:02 +10:00
jfbblue0922 7d924f10e2 AP_Math: add crc8_sae 2023-05-10 17:24:02 +10:00
Peter Barker db6deee9e1 hwdef: chibios_hwdef.py becomes a library 2023-05-10 17:14:43 +10:00
Peter Barker 254886100e Tools: configure_all: allow copying of bootloader hwdefs 2023-05-10 17:14:43 +10:00
Andrew Tridgell 84b52374f6 RC_Channel: fixed build on cygwin with conflicting POINT 2023-05-10 17:10:20 +10:00
Andrew Tridgell 7175318fbb AP_Camera: fixed build on cygwin with conflicting POINT 2023-05-10 17:10:20 +10:00
Andy Piper 99e6958e36 AP_HAL_ChibiOS: FoxeerH743 GA release 2023-05-10 17:07:45 +10:00
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