40442 Commits

Author SHA1 Message Date
Julian Oes
46a12a09bf fmu-v2: make optional sensor startup quiet
Signed-off-by: Julian Oes <julian@oes.ch>
v1.13.2
2022-11-22 21:12:09 +13:00
bresch
72becdf407 ekf2: do not fuse ZVU if other velocity source is active 2022-11-15 13:11:06 -05:00
Matthias Grob
228def6081 mission_block: explicitly (re)set the acceptance radius to default for takeoff items
otherwise a previously adjusted or uninitialized radius from the last flight
can cause problems during the new takeoff
2022-11-11 14:48:45 +13:00
Matthias Grob
092562dc51 mission_block: minimal acceptance radius of 1mm
to avoid float rounding errors leading to tiny acceptance radii
getting considered
2022-11-11 14:48:45 +13:00
Daniel Agar
9fdf5ada40
boards: px4_fmu-v6x_default include systemcmds/gpio 2022-11-07 17:11:28 -05:00
Daniel Agar
872ac68daf
vehicle_magnetometer: fix standalone mag bias est factored into in flight mag cal
- preflight mag bias estimate is in the vehicle body frame and removed from the raw mag data after it's rotated, calibrated, etc
 - in flight mag bias (from ekf2) is in the vehicle body frame, but stored as a sensor frame offset immediately
2022-11-07 09:31:49 -05:00
David Sidrane
b46c608f6e px4_fmu-v6:Add Revision 1 to manifest to note I2C4 is only internal 2022-11-03 07:32:40 +13:00
Julian Oes
37cf8024c3 Holybro PX4Vision: Don't use IO 2022-11-03 07:32:25 +13:00
Silvan Fuhrer
65d22120b2 Navigator: initialize _mission_item for all navigation modes in Navigator::Navigator()
This fixes the issue where the init happended in the initializer list, at which point
the params were not yet initialized and thus resulted in random values for the init
values of _mission_item.loiter_radius and .acceptance_radius.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-10-27 13:20:29 +02:00
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 1080855f4dedf7ba06a4eb20923ab6c2816b0e32.
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