Matthias Grob
4b63f6b29a
Matrix: convert vector assignment test to gtest
3 years ago
Matthias Grob
f4b53d2762
Matrix: convert vector3 test to gtest
3 years ago
Matthias Grob
ddfd62dfc2
Matrix: convert vector2 test to gtest
3 years ago
Matthias Grob
be28aeb3ee
Matrix: convert upper right triangle test to gtest
3 years ago
Matthias Grob
4d43aad847
Matrix: convert transpose test to gtest
3 years ago
Matthias Grob
b3cc18c6de
Matrix: convert square test to gtest
3 years ago
Matthias Grob
555ed9b9d8
Matrix: convert slice test to gtest
3 years ago
Matthias Grob
46df8ab60c
Matrix: convert set identity test to gtest
3 years ago
Matthias Grob
831f0e9aac
Matrix: convert scalar multiplication test to gtest
3 years ago
Matthias Grob
38d742f1b5
Matrix: convert pseudo inverse test to gtest
3 years ago
Matthias Grob
57e443c4a4
Matrix: convert multiplication test to gtest
3 years ago
Matthias Grob
719898f1e3
Matrix: convert least squares test to gtest
3 years ago
Matthias Grob
fddcf342e9
Matrix: convert inverse test to gtest
3 years ago
Matthias Grob
f5ec4b2339
Matrix: convert integral test to gtest
3 years ago
Matthias Grob
7c9e28c168
Matrix: convert helper test to gtest
3 years ago
Matthias Grob
0c4c3a917c
Matrix: convert hat vee test to gtest
3 years ago
Matthias Grob
8f695a5613
Matrix: convert filter test to gtest
3 years ago
Matthias Grob
79e8152f05
Matrix: convert dual test to gtest
3 years ago
Matthias Grob
62571b6984
Matrix: convert copy to test to gtest
3 years ago
Matthias Grob
35b035e880
Matrix: convert attitude test to gtest
3 years ago
Matthias Grob
c33bf5b705
Matrix: convert assignment test to gtest
3 years ago
Matthias Grob
fa35635486
Matrix: change naming of sparse vector test
3 years ago
Jukka Laitinen
3d35929f3e
Put gyro_fft in kernel by default in protected build
...
It is a performance issue to run it on user side
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
4658a627d7
Separate i2c and spi board bus configuration into and own library for protected build target
...
This info is needed on both kernel and user sides, and is just data.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
543c7bd0c5
uORB: Build uorb systemcmd always in kernel side in memory protected build
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
d167f91eb8
logger/watchdog: Disable watchdog for NuttX protected/kernel builds
...
It accesses kernel internal structures directly; this needs to be
worked out with some proper userspace-kernel interface
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
56c6120e83
Use IOCTL for board_read_VBUS_state in NuttX protected builds
...
Direct gpio read is not possible from user side applications, so use boardctl
interface instead.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
0cf3079401
px4_fmuv5: Implement BOARD_*_LOCKOUT_STATE in protected/kernel builds
...
In memory protected builds these perform nuttx boardctl ioctl calls to kerenel
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
356328056a
Add px4_fmu-v5_protected target
...
Add a target for nuttx protected build development
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
005095d199
Add gran allocator also to user side in protected build
...
This is needed for DMA capable memory for fat also in the user side;
the file system doesn't seem to work reliably without.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
49b089f149
Add a simple way to launch kernel side modules
...
Add launch_kmod command to start/execute px4 modules in kenel space
in NuttX protected build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
c43c71f4af
platforms/nuttx/src/px4/common/board_ctrl: Add handlers for vbus & shutdown lockout
...
Add kernel side ioctls and handlers for vbus state and managing shutdown lockout
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
4a74d266be
Initialize cxx static variables also in kernel side
...
For protected/kernel builds the cxx static initializations
needs to be done also in kernel side, since px4 creates
c++ objects in kernel
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
c1a7b8df1d
Add a px4 userspace initialization in protected build
...
The px4_userspace_init function is called from userspace
entrypoint before starting NSH
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
bresch
f3f09c1344
PreFlightCheck: add data timeout detection for mag, baro accel and gyro
3 years ago
bresch
75aa11c955
PreFlightCheck: refactor sensors preflight checks
3 years ago
bresch
b1c1163ee4
PreFlightCheck: remove unused device_id argument
3 years ago
bresch
5f1b577b6d
PreFlightCheck: mark sensor required if used by an EKF2 instance
3 years ago
stmoon
6d0b11ca99
add custom target for uorb_sources_microcdr_gen
3 years ago
wangwwno1
746c16400a
Typo Fix: ChangeWorkQeue
...
Fix the typo of 'WorkItem::ChangeWorkQeue' to 'WorkItem::ChangeWorkQueue'
3 years ago
Daniel Agar
4746a19c0c
boards: px4_fmu-v5_stackcheck disable UUV modules to save flash
3 years ago
Daniel Agar
233c7fd293
goertek/spl06: parameters.c add copyright header and fix formatting
3 years ago
Ncerzzk
cb23179c50
Add Goertek SPL06 barometer driver ( #19229 )
...
Signed-off-by: ncer <huangzzk@bupt.edu.cn>
3 years ago
Konrad
963f6a91d9
exclude Mixer for Tailsitter with x motor configuration and elevons for fmu-v2 and omnibus to avoid flash size issues
3 years ago
KonradRudin
5f43be9d60
preflight checks: add check for distance sensor (via parameter)
3 years ago
Jukka Laitinen
0d31aadcc3
src/lib/paramters: Add a new interface library for protected build user side
...
Implement an interface for protected build to access parameters.
The implementation only does IOCTL calls to the kernel, where the parameters
live.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
41a7ae3db2
src/lib/parameters: Refactor common functions to an own file
...
Put all functions which are commont to flat build and protected kernel and
userspace to an own source file
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
7ef38112d2
ekf2: return saved mag bias variance when not in 3d magnetometer fusion
...
- the estimated mag bias was requiring > 30 seconds of continuous 3d
mag fusion to be reported stable (and saved back to mag cal), this
restores the original intent requiring 30 seconds of accumulated valid
3d mag fusion
3 years ago
Daniel Agar
5717434e93
ekf2: initialize GPS drift metrics to NAN rather than 0
3 years ago
alessandro
62d1058cc2
log irlock_report and landing_target_pose messages
...
Need to log both, because on some systems the
information will come in directly as a
landing_target_pose message, and on others
it's coming in as irlock_report and then filtered
in PX4 to produce the landing_target_pose message.
3 years ago