Commit Graph

43789 Commits

Author SHA1 Message Date
Andrew Brahim 85df8c2281 [BACKPORT 1.15] Sf45 initialization fixes and per-sector publishing (#25399)
* SF45 fixes to restart the state machine if sensor does not init correctly (#23565)

* fixes to restart the state machine if sensor does not init correctly

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* fixes

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* increase fail count

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* remove extra flush, switch from warn to debug, add enum states for sensor bring-up

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* remove dead code, decrease restart fail count metric, break out of loop with consec errors if over the fail count and not init

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

---------

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* remove tel2 default from sf45 (#24602)

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* fix to orientation offsets for scaled yaw, removed unused param

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* Shift vertical orientation above scaling yaw operation, cp angle sign change

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>

* SENS: RNG: SF45 changed data processing and publication design, moved to a publishing per sector design.
other minor improvements

* SENS: RNG: SF45: Fixed sf45 parser, added general checks to avoid potential out-of-bound access

* SENS: RNG: SF45:Fix startup problems, increase frequency, robust parser, use nonblocking reads

* SENS: RNG: SF45: Added timeout to sensor measurements, to compensate the lower loop time of CollisionPrevention

---------

Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Co-authored-by: Claudio Chies <61051109+Claudio-Chies@users.noreply.github.com>
Co-authored-by: Alexander Lerach <alexander@auterion.com>
2025-10-13 21:20:55 -08:00
Alex Klimaj d66956a682 [backport] boards: ark fpv fw vtol 1.15 (#24768)
* boards: ark_fpv add vtol att control

* boards: ark_fpv add camera trigger and capture drivers (#24643)

* boards: ark_fpv add fw controller

* boards: ark_fpv 1.15 backport change to old RC driver
2025-07-07 09:26:00 -08:00
Jacob Dahl d9c5acb669 [BACKPORT 1.15] ark_fpv: use rc_input module, fix make upload (#25061) 2025-06-16 18:51:23 -08:00
Julian Oes a7659ddf12 boards: fix startup delay for all Kakute H7
This configures the RTC clock to use the HSE instead of the not existing
LSE clock which prevents boot waiting for the not existing LSE crystal
for a few seconds on startup.
2025-04-15 16:10:07 +12:00
Julian Oes 99c40407ff gps: revert ubx changes, point to 1.15 branch
This reverts UBX changes that we don't want to backport into v1.15.

We now point to a release/1.15 branch within the PX4-GPSDrivers
submodule.
v1.15.4
2025-02-06 23:41:28 -05:00
bresch 03b4ad46e8 fw-att: fix wheel controller 2025-01-03 16:29:49 +01:00
Julian Oes 51000107a9 [BACKPORT v1.15] gps: heading fixes for NMEA/Unicore (#24092)
* gps: heading fixes for NMEA/Unicore

This updates the GPS submodule which includes NMEA/Unicore fixes:

- Add correct return value for sat infos
- Only publish on position updates
- Request required topics at 5 Hz for Unicore

* gps: build fix
2024-12-13 08:52:01 +13:00
Julian Oes dba5383e99 boards: add SPA06 to KakuteH7/H7mini/H7v2 boards 2024-12-12 11:12:21 -05:00
Julian Oes ca611f1580 drivers: add SPA06 2024-12-12 11:12:21 -05:00
Julian Oes faa7bb91d0 drivers: Copy SPL06 to SPA06 2024-12-12 11:12:21 -05:00
Jacob Dahl 8017135965 Update platforms/nuttx/src/bootloader/stm/stm32_common/main.c v1.15.3 2024-11-19 12:19:19 -05:00
alexklimaj eb76cc6001 stm32 bootloader: use STM32_CPUCLK_FREQUENCY for systick_mhz 2024-11-19 12:19:19 -05:00
alexklimaj 15dd55e86a boards: ark fpv fix current adc 2024-11-19 12:19:19 -05:00
Alex Klimaj 4798b6b631 boards: ark fpv change bootloader uart to telem1 (#23898) 2024-11-19 12:19:19 -05:00
Alex Klimaj b8e7237317 boards: ark fpv add SCH16T (#23883)
* boards: ark fpv add SCH16T

* boards: ark fpv fix spi6
2024-11-19 12:19:19 -05:00
Alex Klimaj 510d6a1f70 boards: new ARK FPV FC (#23830)
* add new payload power switch (RC_MAP_PAY_SW)
2024-11-19 12:19:19 -05:00
Alexis Guijarro 4817c0618a mRo boards: Fix for USART clock selection (#23524) v1.15.2 2024-11-06 12:20:00 -08:00
QiTao Weng e85ffa0991 Add airspeed message to uxrce dds topics (#23847)
Co-authored-by: Weng <q350w358@ENGR-GQT56X3-X.home.ku.edu>
2024-11-04 19:18:29 -09:00
Silvan Fuhrer aa25964942 Navigator: land: set lat/lon fields of triplet to NAN if global position is not valid
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-10-31 13:34:45 +01:00
Julian Oes 53dda3576b boards: add Septentrio GNSS drivers to 6XRT 2024-10-29 19:58:01 +13:00
Julian Oes 31582270ae boards: add Sepentrio GNSS drivers to 6C and 6X 2024-10-29 19:58:01 +13:00
Jacob Dahl 93eef0c787 set file descriptor to -1 after close() v1.15.1 2024-10-01 13:13:18 -04:00
alexklimaj dd5e81470c failure detector use per index esc current 2024-09-30 15:45:56 -04:00
Mathieu Bresciani 1d06f62399 fix VehicleCommand.msg syntax 2024-09-30 15:28:24 -04:00
Daniel Agar f5f7dfc45e commander: ignore REQUEST_CAMERA_INFORMATION
- add answer command logging
2024-09-30 15:28:24 -04:00
Ramon Roche cf1c03e412 drivers/gnss/septentrio: disable default assignment of GPS1 2024-09-25 06:54:51 -07:00
Ramon Roche 30e763b678 Commander: lock down mav sys and comp id
- keeps them as local params at init
- only allow to set at init
v1.15.0 v1.15.0-rc2
2024-08-27 15:27:32 -04:00
Julian Oes fe26cdebc0 stm32h7: Reset USART clock selection (#23498) (#23516)
This resets the USARTs' clock source selection to the default, in case
it has been changed by the bootloader.

This is required if booting from the ArduPilot bootloader which happens
to reset the clock selection to PLL.

Without this fix, UARTs (including the console) is garbled, so
presumably at an invalid baudrate.
2024-08-09 10:25:19 +12:00
Silvan Fuhrer 631f36b1ee TECS: reduce default of FW_T_SPD_STD to reduce airspeed measurement delay
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-08-07 17:45:20 +02:00
Beat Küng 96cddf5ed1 fix metadata.cmake: add missing paths to json & xml parameter outputs (#23464) 2024-08-07 08:39:43 +02:00
chiara-septentrio 5216453b39 drivers/gnss/septentrio : 1.15-compatible extracted septentrio driver, with new features and fixes (#23386)
Co-authored-by: Chiara de Saint Giniez <chiarastginiez@gmail.com>
v1.15.0-rc1
2024-07-25 11:39:38 -04:00
David Sidrane 3dc97908db spracing_h7extreme:rcc Tack upstream name fix 2024-07-15 13:52:44 +02:00
Matthias Grob 762d87285c Jankinsfile-compile: add missing comma after ark_pi6x_default 2024-07-15 13:52:44 +02:00
Matthias Grob 5216d5c569 SubscriptionInterval: move updated, update, copy function to a cpp file
Saves 17.3 kilobytes of flash 😮
2024-07-15 11:31:52 +02:00
Matthias Grob 920005a235 uORB: SubscriptionInterval fix timestamp wrapping when initializing less than the interval time after boot (#23384)
* SubscriptionInterval: ensure _last_update is never before timer start
2024-07-11 16:36:55 +02:00
Peter van der Perk 50dd011c5e Update NuttX
Backports:
stm32h755II backport
stm32h7: allow Ethernet MAC without PHY
imxrt: imxrt11xx set core clock to 1p15v regardless of ocotp
imxrt: Correctly update PLL, bit has to toggled instead of being set
2024-07-10 22:00:47 -04:00
Peter van der Perk e00101b771 [BACKPORT] imxrt: Change PLL settings for more accurate dshot timing 2024-07-10 22:00:47 -04:00
Peter van der Perk c8fedda09a [BACKPORT] fmu-v6xrt: MTD use full FRAM (32KB) 2024-07-10 22:00:47 -04:00
alexklimaj de07e2bef0 boards ark pi6x add vl53l0x 2024-06-26 17:09:48 -04:00
fury1895 9a422dbfe8 gimbal - input_mavlink: return NoUpdate by default v1.15.0-beta2 2024-06-19 14:49:04 +02:00
Julian Oes e2558046b8 mavlink: enable gimbal controls in QGC over USB 2024-06-11 15:08:38 +12:00
Julian Oes 00b6df1de5 gimbal: fix auto RC and MAVLink mode
This fixes various edge cases when input is set to both: RC and
MAVLink gimbal protocol v2.

Specifically:
- We no longer immediately reset primary control if there is no update,
  otherwise this will reset immediately after an commands.
- Talking of commands: GIMBAL_MANAGER_CONFIGURE no longer switches
  control to MAVLink but only an actual incoming setpoint command does.
- And incoming setpoint command only triggers UpdatedActiveOnce which
  means we will check RC again afterwards and if there is big movement
  switch back to RC. That's the intuitive thing to do until we have
  better reporting about who/what is in control.
- Also, with RC we no longer always set us to be in control but only on
  major movement.
2024-06-11 15:08:38 +12:00
Jacob Dahl 061373f45b cdcacm_autostart: handle USB power only 2024-06-07 08:05:15 -04:00
Silvan Fuhrer f3787708d7 VTOL: remove _dt passing as it's no longer used (and was wrong)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-06-06 21:52:40 -04:00
Silvan Fuhrer 4fe51d4911 VTOL Standard: fix transition pusher motor slew rate
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2024-06-06 21:52:40 -04:00
Julian Oes 71bf06af56 boards: update all bootloaders 2024-06-07 09:24:40 +12:00
Peize-Liu 5f2568231d [Fix][hkust_nxt-dual]:board hkust_nxt-dual fix hw_config.h missing APP_RESERVATION_SIZE param (#23204) 2024-06-07 09:24:40 +12:00
Julian Oes ce9109cf5e Makefile: add missing bootloader targets
Quite a few were missing, and everything on one line was hard to diff.
2024-06-07 09:24:40 +12:00
David Sidrane ec2c91fa90 nxp/imxrt_common/main:Fix Breakage from a9962dc 2024-06-07 09:24:40 +12:00
Julian Oes 9f07f2a076 px_uploader: catch serial exception correctly
Signed-off-by: Julian Oes <julian@oes.ch>
2024-06-07 09:24:40 +12:00