40472 Commits

Author SHA1 Message Date
Christian Rauch
437b6b9844 remove unused debug.h 2023-08-14 11:03:24 -04:00
Christian Rauch
43ec73165f BMI0xx: remove unused board_dma_alloc.h 2023-08-14 11:03:24 -04:00
Christian Rauch
ecbbaeb457 ADIS16497: replace NuttX specific up_udelay with HAL version px4_udelay 2023-08-14 11:03:24 -04:00
Christian Rauch
345d814ca4 enable common barometer, IMU and magnetometer 2023-08-14 11:03:24 -04:00
Christian Rauch
c2b10ced8d linux_pwm_out must link mixer_module 2023-08-14 10:52:37 -04:00
Christian Rauch
2bcb3ea3f7 skip SSH key check for simpler builds in the Docker container 2023-08-14 10:50:28 -04:00
bresch
dcb4c182fe ekf2: stop GNSS fusion when fix is loss 2023-07-21 10:21:57 +02:00
Matthias Grob
5736a31a67 rc.interface: explicitly save empty ESC mask 2023-07-13 16:27:38 +02:00
Mathieu Bresciani
cc26cf4121 mc_pos_control: fix potential thrust spike on hover thrust change
Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com>
Co-authored-by: Matthias Grob <maetugr@gmail.com>
2023-06-16 15:52:52 +02:00
Beat Küng
504d951c75 fix kconfig: rename LINUX to LINUX_TARGET
LINUX is defined by cmake >= 3.25:
https://cmake.org/cmake/help/latest/variable/LINUX.html
2023-04-21 07:42:20 +02:00
David Sidrane
1c8ab2a0d7
[BACKPORT] px4_fmu-v6c:Add Mini & fix Rev 1 (#21227) v1.13.3 2023-03-06 12:21:07 -08:00
Julian Oes
6d27784013 nuttx: update submodule to clean backport branch
This should be identical but now cleanly pointing to the
px4_firmware_nuttx-10.1.0+ branch.
2023-03-02 03:53:29 -08:00
David Sidrane
a8f29bc2aa
px4_fmu-v6x:Fix CUAV Sensor Set startup (#21221)
Reverts part of 3c10e34a49d964f85eacf186153097d102fd2578 not
   applicable to V1.13 VER/REV system.
2023-03-01 09:15:03 -08:00
Beat Küng
4bcbfec6cb nuttx: update submodule (DMA + mmcsd fixes) 2023-02-22 06:32:16 +13:00
Leonardo Garcia
c7b9e160b8
mro/pixracerpro: add missing px4_platform_configure() call (#21161) 2023-02-21 09:30:59 +01:00
alexklimaj
5334ec1ef0 Move uavcan start to end of rcS to prevent sd card read lock 2023-02-13 22:34:58 -05:00
alexklimaj
486674a652 Add ARK PAB Carrier
Add ARK_FMU_V6X to RCS netman

Remove arkv6x rc single wire

Fix arkv6x mtd

arkv6x bootloader init all pins to prevent power cycling peripherals on boot

arkv6x don't power cycle sd card on boot

arkv6x add UART4 Telem 4
2023-02-13 22:34:58 -05:00
alexklimaj
6af8e34596 boards: arkv6x add pulldowns to GPIO pins UART7 RTS and UART7 CTS 2023-02-13 22:34:58 -05:00
FriedrichTuttas
ec06fae3fd boards: px4_fmu-v6x add pulldowns to GPIO pins UART7 RTS and UART7 CTS (#20974)
- https://github.com/PX4/PX4-Autopilot/issues/20762

Co-authored-by: David Sidrane <David.Sidrane@Nscdg.com>
2023-02-07 22:29:52 -05:00
Daniel Agar
7001d90d84
lib/sensor_calibration: BiasCorrectedSensorOffset() don't incorporate thermal offsets
- the thermal offsets are an optional correction applied to the raw data, so when updating an existing calibration offset with new learned bias we don't want this incorporated
2023-02-07 09:12:09 -05:00
CUAVmengxiao
ca9af1ca9e
drivers: add support for ICP101XX and ICP201XX 2023-02-06 15:19:49 -05:00
Ryan Meagher
7a6cfce0ca
drivers/barometer/invensense: fix icp10111 and icp10100
* fix icp so it compiles
* add icp10111 and icp10100 DEVTPYE
2023-02-06 15:19:39 -05:00
David Sidrane
3c10e34a49
fmu-v6x:CUAV HW Version changes 2023-02-06 15:17:32 -05:00
CUAVmengxiao
58cc105493
px4_fmu-v6X: add CUAV board 2023-02-06 15:16:28 -05:00
Thomas Watson
9cf38206f6
boards/mro/pixracerpro: fix voltage/current monitoring
This corrects the board definition to use the proper polarity
for the brick power valid signal, thus allowing the board to
detect the battery and monitor it properly.
2023-02-06 15:13:25 -05:00
Claudio
2295ee9164
msg/tools/generate_microRTPS_bridge.py allow ROS2 distro humble
Co-authored-by: Claudio Fritsche <claudio@onesecdelivery.com>
2023-01-23 09:48:24 -05:00
Julian Oes
37cb24afd8 mavlink_shell: fix stall on CubeOrange
On CubeOrange where no console is configured by default, starting
MAVLink shell just stalls, and doesn't work.

Also, logfile download has been reported not to work, and again, seems
to work with this change.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-01-04 22:33:36 -05:00
Beat Küng
985482badb mixer_module: only advertise actuator_outputs when mixer is loaded 2022-12-16 07:50:57 +01:00
bresch
beddb3969e GyroCalibration: update sensor correction before using it
Otherwise, the thermal offset value can be outdated
2022-11-23 14:25:31 -05:00
bresch
4481c3bc1f TC: erase current calibration when temp cal is completed 2022-11-23 14:25:31 -05:00
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