42170 Commits

Author SHA1 Message Date
David Sidrane
e97cdecd37 nxp_fmurt1062:Use Buffer based HW flow control 2023-03-15 10:00:22 -07:00
David Sidrane
a77a02d485 imxrt track lib changes 2023-03-15 10:00:22 -07:00
David Sidrane
5aaf58175b px4/nxp/imxrt:Support VER & REV from EEPROM 2023-03-15 10:00:09 -07:00
David Sidrane
b61e6128d3 nxp_fmurt1062-v2:Update to NuttX 10.3+ 2023-03-15 10:00:09 -07:00
David Sidrane
58a2c6b35b NuttX 10.3 with TJA1103 Backports 2023-03-15 10:00:05 -07:00
David Sidrane
47c13e4f2e nxp_fmurt1062-v2:Use TJA1103 PHY 2023-03-15 09:59:19 -07:00
David Sidrane
c223a1a904 nxp_fmurt1062-v2 RC04 HW Changes 2023-03-15 09:59:19 -07:00
David Sidrane
50c9d0198f nxp_fmurt1062-v2:Corect roataion of ICM20602 2023-03-15 09:59:19 -07:00
David Sidrane
120cd5a78d nxp_fmurt1062-v2:Free Memory 2023-03-15 09:59:19 -07:00
David Sidrane
2a4b761419 nxp_fmurt1062-v2:Normalize boardconfig to upstream 2023-03-15 09:59:19 -07:00
David Sidrane
aef729df11 nxp_fmurt1062-v2:Update PX4IO Firmware 2023-03-15 09:59:19 -07:00
David Sidrane
1853c3f144 nxp_fmurt1062-v2:Normalize with V5X - start PX4IO and Mavlink on TELEM2 2023-03-15 09:59:19 -07:00
David Sidrane
a565c6f25b nxp_fmurt1062-v2:Timer configuration for 1 channel per group (timer) 2023-03-15 09:59:19 -07:00
David Sidrane
91dadbef8a nxp_fmurt1062-v2:Free up RAM consumed by networking
With Networking
   Memory region         Used Size  Region Size  %age Used
              flash:      722108 B         7 MB      9.84%
           flashxip:      909032 B         1 MB     86.69%
               sram:      780212 B       856 KB     89.01%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                      total       used       free    largest  nused  nfree
                     total       used       free    largest  nused  nfree
           Umem:     267232     229136      38096      37264    906     53

   No Network
   [846/848] Linking CXX executable nxp_fmurt1062-v2_default.elf
   Memory region         Used Size  Region Size  %age Used
              flash:      685340 B         7 MB      9.34%
           flashxip:      895448 B         1 MB     85.40%
               sram:      722356 B       856 KB     82.41%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                      total       used       free    largest  nused  nfree
           Umem:     325088     200992     124096     123376    813     46

   This commit With Networking
   [4/6] Linking CXX executable nxp_fmurt1062-v2_default.elf
   Memory region         Used Size  Region Size  %age Used
              flash:      694852 B         7 MB      9.47%
           flashxip:      936880 B         1 MB     89.35%
               sram:      753588 B       856 KB     85.97%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                   total       used       free    largest  nused  nfree
        Umem:     293856     228432      65424      64448    900     51
2023-03-15 09:59:19 -07:00
David Sidrane
26f0e26c33 nxp_fmurt1062-v2:Use DMA on SPI 2023-03-15 09:59:19 -07:00
David Sidrane
a96100e4e6 Fitting DNM 2023-03-15 09:59:19 -07:00
David Sidrane
94b6dbea1d Add nxp_fmurt1062-v2 FMUM
px4io_update: Add px4io FW on nxp_fmurt1062-v2
2023-03-15 09:59:19 -07:00
Alex Klimaj
ea97a38b2b
Initial Cannode PWM Support (#19748)
* Add uavcannode esc/servo pwm control pipeline
* Remove cannode rc.interface with mixer purge
* Cannode add Kconfig options to reduce flash usage
2023-03-15 11:20:07 -04:00
Daniel Agar
f0a95f9572 ekf2: add new kconfig option for multi-EKF
- disabled if flash constrained or memory constrained
2023-03-15 09:32:47 -04:00
Daniel Agar
19a2b4ec31 ekf2: GNSS yaw only reset test ratio for new samples
- otherwise external test ratio monitoring could trigger a false positive
2023-03-14 21:49:24 -04:00
AlexKlimaj
e375e02974 Add GPS spoofing state 2023-03-14 20:28:32 -04:00
Julian Oes
2605562a69 cubeorangeplus: add I2C4, start AK09918
CubeOrange+ which have the ICM45686, also have the AK09918 connected
on the internal I2C4.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-14 08:34:28 -04:00
Julian Oes
695d48d6c9 AK09916: add support for AK09918
The AK09918 seems to only differ in the WHO_AM_I ID.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-14 08:34:28 -04:00
Julian Oes
7be3279675 cubeorangeplus: add check for SMPS support
If NuttX is built without support for SMPS it can brick the hardware.
Therefore, I suggest that we add this additional compile-time check.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-13 22:54:41 -04:00
Julian Oes
36f430e385 cubeorangeplus: save some flash space
We need to make space for drivers.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-13 22:53:56 -04:00
Julian Oes
bee4fe9470 boards: sensor config for CubeOrange+
Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-13 22:53:56 -04:00
Julian Oes
63dc6b5bc9 ICM45686: fix clipping due to rotation
It turns out that when you rotate by 45 degrees, as required on the
CubeOrange+, then you can easily get into clipping because the vector
components are constrained after the rotation. In order to avoid that,
we have to avoid getting close to the int16 range and switch from 20 bit
resolution to 16bit resolution earlier.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-13 22:53:56 -04:00
Julian Oes
f4b48e685f drivers: add ICM45686
Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-13 22:53:56 -04:00
Beniamino Pozzan
82dce9353c
gz models: fix deprecated warnings (#21285)
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@phd.unipd.it>
2023-03-13 12:28:20 -07:00
bresch
fd33e60f78 ekf: fix GNSS yaw fusion wrapping 2023-03-13 10:46:34 +01:00
akkawimo
3bae99267b
fix(precland): Improved log messages (#21289) 2023-03-13 08:39:31 +01:00
Daniel Agar
9be8f81d75
flight_mode_manager: StickAccelerationXY protect from NAN velocity reset
Co-authored-by: Matthias Grob <maetugr@gmail.com>
2023-03-10 08:17:20 -05:00
Daniel Agar
435c799f57 uORB: print more decimal places for float32 and float64 2023-03-10 07:39:34 +01:00
Frederic Taillandier
91f6ab865c
ROMFS: fix shellcheck error in px4-rc.simulator (#21282) 2023-03-10 07:37:45 +01:00
Matthias Grob
bd5838faf0 FlightTask: don't instaniate unused parameters 2023-03-09 17:40:55 +01:00
Tony Samaritano
eb4da990c3 init.d-posix/px4-rc.simulator: adds non-default LAT and LON as optional environment variables 2023-03-09 09:40:35 -05:00
Daniel Agar
b3cc945a5a ekf2: merge runOnGroundYawReset() + runInAirYawReset() into unified magReset() 2023-03-09 09:08:27 -05:00
Daniel Agar
c1f244a6fd
ekf2: decrease EKF2_MAG_YAWLIM default 0.25 -> 0.2 rad/s (#21264) 2023-03-09 09:07:54 -05:00
Daniel Agar
60b85c2e1a
mavlink: add kconfig option to disable UAVCAN parameter bridge
- depends on DRIVERS_UAVCAN
2023-03-08 19:30:06 -05:00
frederictaillandier
eb86cb85b7 removing MOUNT_ORIENTATION on udp_gcs_port_local from typhoon 2023-03-09 12:43:47 +13:00
Daniel Agar
4dda5a97d8
ekf2: mag_3d check mag bias variance before allowed to update all states (orientation) 2023-03-08 15:12:48 -05:00
Julian Oes
ea20217c1b kakuteh7v2/mini: EKF2 is already the default 2023-03-08 10:48:31 -05:00
Julian Oes
593b3d250d kakuteh7mini: remove duplicate param defaults
Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-08 10:48:31 -05:00
Julian Oes
ed49ed3903 kakuteh7v2/mini: use EKF2 without mag by default
This switches from attitude_estimator_q to EKF2 which should now work
without mag when the params are set to SYS_HAS_MAG = 0 and
EKF2_IMU_CTRL = 7 to enable gravity fusion.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-03-08 10:48:31 -05:00
Matthias Grob
132e9d2439 modeCheck: add warning when RC enabled but not present 2023-03-08 09:32:56 +01:00
Matthias Grob
898c0ae5a8 mode_requirements: refactor order of setting flags 2023-03-08 09:32:56 +01:00
Matthias Grob
7fa8dfe2d2 rcAndDataLinkCheck: always update manual control availability
and remove duplicate manual control check
possibly it needs to be readded to give warning
about RC enabled but not present.
2023-03-08 09:32:56 +01:00
Matthias Grob
f498b90c41 mode_requirements: add manual control for manual modes 2023-03-08 09:32:56 +01:00
Beniamino Pozzan
636dfdec6a VScode: fix tasks.json and launch_sitl.json after ign -> gazebo renaming
PX4_SIM model need the simulator (gz_) prefix
Fix post debug task
Add x500_depth, rc_cessna, standard_vtol

Signed-off-by: Beniamino Pozzan <beniamino.pozzan@phd.unipd.it>
2023-03-07 21:28:39 -05:00
Daniel Agar
d45aeae1de ekf2: add and share centralized method to clear inhibited state Kalman gains 2023-03-07 13:27:57 -05:00