Daniel Agar
8fbf79527f
magnetometer allow setting initial calibration from bias if available and stable
2021-12-01 20:24:56 -05:00
Daniel Agar
b7efd4f947
ekf2: selector treat combined test ratio > 1 as a warning
...
* ekf2: selector treat combined test ratio > 1 as a warning
* ekf2: wait for 1s of constant warning to trigger an instance switch
Co-authored-by: bresch <brescianimathieu@gmail.com>
2021-12-01 20:22:34 -05:00
Matthias Grob
89892d0d17
px4io: discover PWM_MAIN_TRIMx parameters right away
2021-12-01 20:21:26 -05:00
Julian Oes
a9b9362fea
commander: handle system broadcast commands
...
This changes the command handling logic to accept commands which are
targeted at any system, signaled by target_system set to 0.
2021-12-01 20:17:35 -05:00
Daniel Agar
a2064cceff
boards: enable early MPU reset on any board potentially not using the PX4 bootloader
2021-12-01 20:13:41 -05:00
Peter van der Perk
36ba8cc6dd
UAVCANv1 update FMU-V5 config
2021-12-01 09:29:15 -05:00
Peter van der Perk
ce10dd90e7
Remove ucannode_gps_demo since it's superseded by uavcan_v1
2021-12-01 09:29:15 -05:00
Peter van der Perk
ce909b23b1
UAVCANv1 Node implementation work, PNP, Registers and uORB publisher
2021-12-01 09:29:15 -05:00
Jukka Laitinen
79aa8ee587
src/drivers/sw_crypto: Fix a function call argument type mismatch
...
Fix one function call argument from unsigned -> size_t
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-12-01 09:28:02 -05:00
Jukka Laitinen
9c94e4c5ef
crypto: define XMALLOC & XFREE for sw_crypto
...
Use the same memory allocation in sw_crypto driver as what is used in
src/lib/crypto libraries
In addition, in nuttx protected build, allocate all memory from kernel heap
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-12-01 09:28:02 -05:00
Jukka Laitinen
a537925c3c
Fix a build error with crypto variants
...
There was an error that PX4_CRYPTO was cached accross variants, if it was
defined just for one variant.
This synchronizes the caching of BOARD_CRYPTO with other similar BOARD_ flags;
it is set as INTERNAL and "1" when enabled.
Also remove handling of BOARD_KEYSTORE; it is not used anywhere after
changing the crypto under src/drivers. If a separate keystore driver
is required, it is just selected as any other driver in px4board
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-12-01 09:28:02 -05:00
alexklimaj
2571860ff8
Prevent uavcannode from republishing RTCM data received over uavcan
2021-12-01 09:27:11 -05:00
David Lechner
a29820bdf8
gps: fix compiling on mac
...
This fixes the following compile error on Mac:
src/drivers/gps/gps.cpp:562:23: fatal error: use of undeclared identifier 'B921600'
case 921600: speed = B921600; break;
^
2021-12-01 09:25:40 -05:00
alexklimaj
bfd5a90a5d
UAVCAN Moving Baseline Working
...
Set uavcan publisher priorities
Switch to ardupilot rtcm message and add heading accuracy
2021-11-30 15:59:08 -05:00
Matthias Grob
b59db7dac2
rtl_params: change default and max rtl time margin
2021-11-30 19:46:22 +01:00
Matthias Grob
55dfbdc6a6
Commander: fix remaining flight time user messaging
2021-11-30 19:46:22 +01:00
David Jablonski
4f88c200ec
vmount: fix gimbal_manager_status
2021-11-30 19:35:22 +01:00
Thomas
9345f68a93
reapply PR 18614 to refactored FlightTaskAuto
2021-11-30 14:52:16 +01:00
Beat Küng
cbd6e735ad
fix console_buffer: avoid potential deadlock when using dmesg over MAVLink shell
...
dmesg was locking the console buffer, then writing to stdout (a pipe in
the case of the MAVLink shell).
This might block, waiting for mavlink to read from the pipe. If however
mavlink tries to write to the console at that time, the lock is already
taken.
This patch avoids nested locking by using a separate buffer.
2021-11-30 08:49:52 -05:00
Julian Oes
01db98fccf
vmount: fix RC pitch input scale
...
When scaling manual input, we should only use pitch -90 to +90 instead
of -180 to 180 degrees which leads to weird behavior as it gets passed
on by a quaternion.
2021-11-30 07:50:20 +01:00
David Sidrane
76585409fa
durandal rev 1 has bmi088->icm20602
2021-11-29 21:59:30 -05:00
benjinne
38e7f814d5
mro h7 boards add rtps px4board files
2021-11-29 21:50:32 -05:00
Daniel Agar
e348425279
Jenkins: hardware perform board reset immediately after flashing
2021-11-29 21:49:35 -05:00
Daniel Agar
bc7001ba49
NuttX apps with [REJECTED] mkfatfs DMA memory change
2021-11-29 21:49:35 -05:00
David Sidrane
df1c94dd4e
px4_fmu-v5_debug:Increase stack size
2021-11-29 16:01:08 -05:00
David Sidrane
ade7315e9b
sd_bench:Missing free
2021-11-29 16:01:08 -05:00
Jukka Laitinen
c2cbab1e98
Improve stub_keystore configuration
...
It is possible to either set the keyfile locations in board configuration or
with the same environment variables as before.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-29 11:09:51 -05:00
Jukka Laitinen
929820136a
Move sw_crypto and stub_keystore under src/drivers
...
This is more logical place for the "backend" implementation than
directly under platform.
This also allows making other implementations as "real" drivers, as well as proper configuration via Kconfigs
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-11-29 11:09:51 -05:00
Daniel Agar
9b7c8c8a8b
boards: px4_fmu-v6x_default enable ethernet by default with NuttX optimizations
2021-11-29 09:08:42 -05:00
Daniel Agar
b9152dc4d0
boards: px4_fmu-v5x_default increase ETH pktsize to max and enable tcp delayed ack
2021-11-29 09:08:42 -05:00
Daniel Agar
bb562a6d10
mavlink: unify find_broadcast_address logic
...
- remove NuttX special handling
2021-11-29 09:08:42 -05:00
Daniel Agar
0459b73520
boards: px4_fmu-v5x enable mavlink ethernet by default
2021-11-29 09:08:42 -05:00
PX4 BuildBot
2870b5bbb1
Update submodule sitl_gazebo to latest Sat Nov 27 12:38:16 UTC 2021
...
- sitl_gazebo in PX4/Firmware (d0c931353b047cfe6340b11866c814aa0d43fd34): 60d6844e17
- sitl_gazebo current upstream: ffb87ef4a3
- Changes: 60d6844e17...ffb87ef4a3
ffb87ef 2021-11-24 Thomas Stastny - sync baro and diff pres calculations in airspeed and baro plugins
a1d9dfa 2021-11-23 Bearixal - Windy World: Fixed Naming of Parameter according to wind_plugin.cpp and added missing ones. (#830 )
71d8a41 2021-11-17 Jaeyoung-Lim - Remove unused configs in windyworld
2021-11-27 11:14:32 -05:00
PX4 BuildBot
5440802aae
Update submodule libcanard to latest Sat Nov 27 12:38:19 UTC 2021
...
- libcanard in PX4/Firmware (748cbbe79a4f91f472207b8d12e1d01e486a82ab): 2a11617028
- libcanard current upstream: 2d449453fc
- Changes: 2a11617028...2d449453fc
2d44945 2021-09-18 Kalyan Sriram - Fix sonarcloud issues (#181 )
d64f82f 2021-09-13 Kalyan Sriram - WIP: Migrate to Github Actions (#174 )
2021-11-27 11:11:29 -05:00
David Sidrane
e507563911
uvify_core nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
23c73d4e0b
px4_fmu-v6x nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
51b55533af
px4_fmu-v6u nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
b8bdf7e1c4
px4_fmu-v5x nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
3504541ebd
px4_fmu-v5x base_phy_DP83848C:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
60229c28a8
px4_fmu-v5 uavcanv1:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
01681d6b47
px4_fmu-v5 stackcheck:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
32c2160137
px4_fmu-v5 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
cf36435ed3
px4_fmu-v5 debug:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
a6bc41ef75
px4_fmu-v5 cryptotest:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
0951b9b1e7
px4_fmu-v4pro nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
e957ebac56
px4_fmu-v4 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
c3ae713ec1
px4_fmu-v3 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
394b431364
px4_fmu-v2 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
bddee78412
nxp_fmurt1062-v1 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
fa3027537c
nxp_fmuk66-v3 socketcan:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00