Alex Klimaj
de0e73d505
vscode cmake-variants fix ark_septentrio-gps ( #23222 )
2024-06-03 19:43:26 -06:00
Matteo Del Seppia
de5087ae3e
Patch for issue #22818 ( #23170 )
...
When calling "differential_drive stop" a missing return statement was causing a segmentation fault due to access to already freed memory.
2024-06-03 21:10:28 +02:00
Peter van der Perk
c22f725d85
fmu-v6xrt: Support RC telemetry
2024-06-03 08:31:18 -04:00
Peter van der Perk
7fab93ede8
fmu-v6xrt: Fix flash configuration
...
Fixes correct dummy cycle count of 20
2024-06-03 08:26:48 -04:00
bresch
0a665a526c
ekf2: add mag type init
...
In this mode, the mag is used to inilialize the heading.
During flight, the heading is predicted using gyros and corrected
by GNSS measurements if available.
2024-06-03 13:28:12 +02:00
Beat Küng
ca112fea8a
fix commander: make sure to count all valid mags in preflight check
...
Previously, if a mag was not required (not index 0 and not used by ekf),
it was not counted in num_enabled_and_valid_calibration.
If a user set SYS_HAS_MAG to e.g. 3, it would then trigger a preflight
failure, even if there were 3 calibrated and enabled mags.
2024-05-31 12:30:34 -04:00
bresch
53210dd8f3
ekf2-mag: with NE aiding, constrain heading drift only before takeoff
...
After takeoff, the heading is easily observable
2024-05-31 10:38:17 -04:00
bresch
3dac9af09e
ekf2-mag: do not reset on WMM change when NE aiding is active
...
The mag field states are observed. No need to reset them.
2024-05-31 10:38:17 -04:00
bresch
ee765e7859
ekf2-mag: do not reset when NE aiding is active
2024-05-31 10:38:17 -04:00
bresch
6515935b52
ekf2-mag: do not limit the earth mag field estimate
...
The EKF can recover from an initial bad earth mag field estimate.
Constraining the field is not necessary and can lead to an unpredicted
behavior of the filter.
Declination fusion is safe to run even when the horizontal field is 0
2024-05-31 10:38:17 -04:00
bresch
774b6ed3b8
ekf2-mag: do not use yaw emergency estimator to reset mag states
...
On slowly moving vehicles (e.g.: boats, rovers), the yaw estimator has
worse convergence than the main EKF. Resetting the mag states using the
yaw estimator as reference can lead to poor heading. Also, the EKF can
recover really well from initially incorrect mag states.
2024-05-31 10:38:17 -04:00
bresch
c3d984703c
ekf2-mag: remove immediate declination fusion after reset
2024-05-31 10:38:17 -04:00
bresch
a6007e4b93
ekf2-mag: turn around update_all_states condition
...
Non-functional
2024-05-31 10:38:17 -04:00
bresch
c11c75d32e
ekf2-mag: always add process noise until initial value
2024-05-31 10:38:17 -04:00
Eric Katzfey
493c9e49db
uORB: ORBSet don't allow duplicate insertion
...
* fixes a small memory leak in uORBManager.cpp (if using ORB_COMMUNICATOR)
2024-05-30 16:53:48 -04:00
asimopunov
42f4e02d7e
bsondump: add check if bson document size is set to zero and set to decoded size ( #23088 )
2024-05-30 14:52:19 +02:00
Peter van der Perk
cd93e2982c
dshot: telemetry esc_status use sequential numbering for each motor
...
channel != telemetry_index, we've to count from 0 and increment for each enabled ESC
2024-05-30 04:56:42 -04:00
Peter van der Perk
7982f54a6a
dshot: refactoring
2024-05-30 04:56:42 -04:00
Peter van der Perk
ff6966da57
imxrt: dshot fix erpm calculation by implementing 3-bit exponent and 9-bit period
2024-05-30 04:56:42 -04:00
Peter van der Perk
3874b4c55d
imxrt: move flexio irq handler to itcm
2024-05-30 04:56:42 -04:00
Peter van der Perk
5d2fda6172
dshot: bdshot fix esc offline/online checks
2024-05-30 04:56:42 -04:00
Peter van der Perk
0e41f9730f
imxrt: dshot improve state machine reduce's no response count
2024-05-30 04:56:42 -04:00
Peter van der Perk
f3ef0d6610
dshot: fix clearing out esc status
2024-05-30 04:56:42 -04:00
Peter van der Perk
b0cb697f71
imxrt: dshot add 1060 support and use channels instead of timers
2024-05-30 04:56:42 -04:00
Peter van der Perk
e2969952d3
drivers: dshot: prepare to extend for bidrectional dshot
2024-05-30 04:56:42 -04:00
Peter van der Perk
2de0af52e8
px4_fmuv6xrt: bidirectional dshot driver
2024-05-30 04:56:42 -04:00
Peize-Liu
2f4d6b6fac
[Fix][hkust_nxt-dual]:board hkust_nxt-dual fix hw_config.h missing APP_RESERVATION_SIZE param ( #23204 )
2024-05-30 10:35:04 +02:00
Silvan Fuhrer
efe2a52eb4
ROMFS: remove MIS_DIST_1WP customizations in airframes
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-29 21:00:35 -04:00
Silvan Fuhrer
752051470f
Navigator: increase default of MIS_DIST_1WP to 10km
...
The previous default of 900m leads to many warnings if left
unchanged, especially if the vehicle is already in-air when
the Mission is started.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-29 21:00:35 -04:00
bresch
993782cffa
ekf2: only trigger position timeout reset when hpos fusion is active
2024-05-29 20:49:14 -04:00
Silvan Fuhrer
0379048ad2
mavsdk_tests: increase acceptance radius for position check on offboard landing
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-29 20:46:26 -04:00
Eric Katzfey
ae34e39b7e
QuRT: Increased the size of the memory heap available to qurt platform ( #23194 )
...
* Increased the size of the memory heap available to qurt platform
2024-05-29 20:44:40 -04:00
Daniel Agar
f3d152741c
boards: sky-drones_smartap-airlink_default disable gyro_fft module to save flash
2024-05-29 20:38:49 -04:00
Daniel Agar
b36f47535e
boards: px4_fmu-v6c_default disable gyro_fft module to save flash
2024-05-29 20:38:49 -04:00
Daniel Agar
a80c96e575
boards: px4_fmu-v5x_test disable payload_deliverer module to save flash
2024-05-29 20:38:49 -04:00
Per Frivik
267cb9906e
integrationtests: mavros increase threshold for yaw_error_std
2024-05-29 11:11:09 -04:00
David Sidrane
f655d1be9b
Update px4_fmu-v6xrt Bootloader
2024-05-29 11:08:49 -04:00
David Sidrane
3beb57aae1
px4_fmu-v6xrt & bootloader:Bootloader enusres that ITCM memory is writable before jump to APP
2024-05-29 11:08:49 -04:00
David Sidrane
d79c5f170b
bootloader/common/bl.c:Fixed Wrong vec_base caculation - only effects imxrt
2024-05-29 11:08:49 -04:00
David Sidrane
04e0d3475f
nxp/imxrt_common/main:Fix Breakage from a9962dc
2024-05-29 11:08:49 -04:00
Matthias Grob
daa89ba30a
Jankinsfile-compile: add missing comma after ark_pi6x_default
2024-05-29 15:42:41 +02:00
Jacob Dahl
a4650fd70d
HealthCheck: added health check for logger to report if it's running ( #22781 )
2024-05-29 11:56:50 +02:00
Hamish Willee
b5627f487f
camera_trigger: module docs for camera trigger driver ( #23104 )
2024-05-29 11:37:27 +02:00
Matthias Grob
d1db0addf9
CameraFeedback: shorten line length such that documentation parser works
...
This broke in 4f64acb3524d39967bd7f516ae2ebfe4be5246bc and was also flagged by CI in the pr and since then.
2024-05-29 11:24:53 +02:00
Silvan Fuhrer
032ae69eee
VTOL: remove _dt passing as it's no longer used (and was wrong)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-28 14:54:33 +02:00
Silvan Fuhrer
f8fe7c7aa3
VTOL Standard: fix transition pusher motor slew rate
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-28 14:54:33 +02:00
Matthias Grob
dfee9ca4c6
MAVLink: remove never used _mavlink_link_termination_allowed
2024-05-28 10:41:00 +02:00
Silvan Fuhrer
1206005ed2
RTL_status: improve comment
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-27 12:03:16 +02:00
Silvan Fuhrer
42bca65cbf
RTL_mission_reverse: start from previous WP if RTL is triggered while in Mission
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-27 12:03:16 +02:00
Silvan Fuhrer
b9d3b9f211
RTL_mission_fast: continue mission if RTL is triggered while in Mission
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-05-27 12:03:16 +02:00