40433 Commits

Author SHA1 Message Date
Thomas Stastny dc7f29e2ec welford mean: protect against negative variances v1.13.1 2022-10-05 10:29:03 -04:00
Thomas Stastny fbef296890 welford mean: convert to matrix only template 2022-10-05 10:29:03 -04:00
Daniel Agar 6ce38b8296 vehicle_imu: only reset raw accel/gyro Welford mean periodically
- vehicle_imu_status can publish immediately on any measured sample
rate change or sensor error increment, but the windowed mean/variance
shouldn't necessarily reset that often
2022-10-05 10:29:03 -04:00
Julian Oes e3d730ea37 ms5611: ignore reading 0
This prevents publishing a negative pressure which leads to a NAN
altitude estimate further down the line.
2022-10-04 09:42:16 -04:00
alexklimaj d22d33e936 Fix ARKV6X control allocator with base boards 2022-09-29 14:24:20 -04:00
bresch 1ea4fe9b7b Mag: fix estimated bias save to calibration
Clear the calibration at the end only otherwise everything gets erased
at the end of the first iteration of the outer loop
2022-09-28 10:03:35 -04:00
Julian Oes 2e7df77bff uavcan: fix RTCM corrections publication
Before this fix, this function would stall and somehow never return.
2022-09-27 22:01:48 -04:00
Julian Oes 241abb933a libuavcan: update submodule
This fixes a Python 3.10 issue for me.
2022-09-27 21:55:08 -04:00
Julian Oes 02c281c3e8 fmu-v5x: support for mini base board
This was forgotton with all the merges and shuffling previously.
2022-09-27 05:45:22 +13:00
Julian Oes 280f2e3abc fmu-v3: make optional sensor startup quiet
This fixes the errors showing up at startup for me with a Black Cube.
2022-09-27 05:45:22 +13:00
Julian Oes 22f338b58c fmu-v6x: alias, add VX43
- alias from hw_mft_list_v0650 to hw_mft_list_v0600 as it is the same
- add V6X50 again
2022-09-27 05:45:22 +13:00
Julian Oes 5b60985494 fmu-v5x: alias for duplicates, remove commented
- Removed commented out config data.
- hw_mft_list_v0540 was the same as hw_mft_list_v0500
2022-09-27 05:45:22 +13:00
Julian Oes 51607928c0 fmu-v6: disable Rev 0, Rev 1 for HB Mini, and CM4
As I understand it, only Rev 3 and Rev 4 were shipped by HB for Mini and
CM4, and are likely to be used for it.

It would be nice to have all combinations but it requires quite some
flash in the current implementation.
2022-09-27 05:45:22 +13:00
Julian Oes 426d13a82e fmu-v5x: disable rev0 for HB Mini and CM4 base
As I understand it, only Rev 1 and Rev 2 were shipped by HB, and likely
to be used for the Mini and CM4.
2022-09-27 05:45:22 +13:00
Julian Oes 90c0d77c7b platforms: decrease flash usage by type for bus id
My assumption is that the bus are numbered < 127.
This saves about 100 bytes of flash.
2022-09-27 05:45:22 +13:00
vincentpoont2 fdc7ee3674 update fmu-v6x rc.board_sensors, add V6X004003 2022-09-27 05:45:22 +13:00
vincentpoont2 eef7b35747 update fmuv5x rc.board_sensors with V5X004000 2022-09-27 05:45:22 +13:00
Vincent Poon 65b1370ad1 update v5x rc.board_sensors
add V5X004002
2022-09-27 05:45:22 +13:00
Vincentpoont2 0e0324de5d Correct BOARD_NUM_SPI_CFG_HW_VERSIONS at board_config.h 2022-09-27 05:45:22 +13:00
Vincentpoont2 73e6660411 Fix Error on manifest.c 2022-09-27 05:45:22 +13:00
Vincentpoont2 7ff373fee2 Fix Error on board_config.h Define on FMUv5X & FMUv6X 2022-09-27 05:45:22 +13:00
Vincentpoont2 f4a5c71ccd Add Holybro Pixhawk Pi CM4 Baseboard Support 2022-09-27 05:45:22 +13:00
Julian Oes 3ccde2f4db cuav_x7pro: save flash on test target 2022-09-23 20:55:41 +12:00
Julian Oes dbf1f31bec boards/platform: remove confusing override
This removes the odd px4_i2c_bus_external override which was confusing
me and lead to odd and inconsistent results.

The function is now only available with an int as the argument.
2022-09-23 20:55:41 +12:00
alexklimaj 61d2b13e43 Add BMP390 to BMP388 driver 2022-09-20 20:34:23 -04:00
Julian Oes 8cfc4fc7ca boards: save some flash on CubeOrange test config 2022-09-20 18:56:04 -04:00
vincentpoont2 ebc67464c3 Add PX4 vision v1.5 Airframe 2022-09-20 18:56:04 -04:00
Daniel Agar a5a9b1011a [DO NOT MERGE] px4_i2c_device_external hacks 2022-09-20 18:54:28 -04:00
Julian Oes 1ad71eefa1 px4_fmu-v6c: Move I2C 4 back to External
This is a revert of the revert.
This reverts commit 1080855f4d.
2022-09-20 18:54:28 -04:00
Julian Oes 7786bf6dbc fmu-v6c: internal baro and mag on external bus
This swaps the internal baro and mag back to the bus which is both
internal an external but configured as external for this case.
2022-09-20 18:54:28 -04:00
Alex Klimaj af0d53cdc9 boards: V1.13.0 ARKV6X Backport (#20253) 2022-09-20 18:53:48 -04:00
RomanBapst 79367ed417 standard: fixed pusher assist in hover
- in hover mode the pusher assist is already set in update_mc_state()

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2022-09-15 13:07:27 -04:00
David Sidrane 417c973cc9 px4_fmu-v6x:HB Mini add Ver 3, Ver 4 init 2022-09-09 15:43:10 +12:00
Daniel Agar 26f912eb8a icm42670p run at full speed 2022-09-06 16:23:14 +12:00
Daniel Agar e7d18960a5 drivers/imu/invensense/icm42670p: cleanup and small fixes 2022-09-06 16:23:14 +12:00
Daniel Agar 8a54b21e7d adis16470: fix accel and gyro scaling 2022-08-17 11:40:30 -04:00
RomanBapst baab4501f6 gps_inject_data: fixed integer overflow
- array length of data was increased without changing the data type of
the variable holding the length

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2022-07-13 11:20:35 -04:00
bresch b30c2c22b3 ekf2: do not run rng kinematic consistency check for fixed-wings
As they are always moving horizontally, the check doesn't make sense
for fixed-wings.
Also don't run the check while on ground to prevent getting a failed
check during pre-takeoff manipulation.
2022-07-12 13:54:30 -04:00
Daniel Agar cc7e709597 uavcan: GNSS optionally publish RTCMStream or MovingBaselineData 2022-07-12 13:54:21 -04:00
Daniel Agar 416610afc3 differential_pressure/sdp3x: sdp3x_main fix 'keep running' regression 2022-07-12 13:54:11 -04:00
David Sidrane 841797da2a px4_fmu-v6X:Added Holybro mini base board 2022-07-01 15:33:08 -04:00
David Sidrane 55706108b6 uc_stm32h7_can:Correct initalization of the mumber of interfaces
H7 Only supports 2 not 3 CAN interfaces.

   CanInitHelper passes in in the run time configuration of
   the number of interfaces. The code was ignoring these!
2022-07-01 15:32:53 -04:00
David Sidrane e1f86f510b px4_fmu-v5X:Added Holybro mini base board 2022-07-01 15:32:44 -04:00
David Sidrane 17ef175402 px4_fmu-v6x:Add Rev 4 Sensors 2022-07-01 15:32:09 -04:00
Alex Klimaj f9980e0721 uavcannode: Fix dronecan baro units 2022-06-17 14:44:32 -04:00
Daniel Agar 6823cbc414 sensors/vehicle_angular_velocity: add IMU_GYRO_RATEMAX constraints v1.13.0 2022-06-07 16:23:01 -04:00
Daniel Agar beaebe4d0b sensors/vehicle_imu: don't bother checking IMU_GYRO_RATEMAX 2022-06-07 16:22:54 -04:00
Daniel Agar 0bddca6b9b boards: NuttX update all boards to preallocated sem holder list
- CONFIG_SEM_PREALLOCHOLDERS=32
 - CONFIG_SEM_NNESTPRIO=16 (default)
v1.13.0-rc1
2022-05-29 13:49:01 -04:00
Daniel Agar c50c1e3982 update NuttX and apps to latest with sem holder fixes and updated ostest 2022-05-29 13:48:15 -04:00
Daniel Agar a249b77647 boards: reduce SPI DMA buffers on older STM32F4 boards
- on common IMUs like the mpu6000, mpu9250, icm20602, etc each FIFO
sample is only 12 bytes so this is still more than large enough for the
worst case transfer
2022-05-27 16:28:26 -04:00