Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] LMC: Mavlink ULog rate control support #612

Draft
wants to merge 345 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
345 commits
Select commit Hold shift + click to select a range
7e7797b
ControlAllocator: cast NAN's to float
jnippula Oct 27, 2022
73f3413
SSRC uae artifactory configurations
ssrcdevops Nov 3, 2022
18fc28d
workflow name changed to tiiuae-pixhawk-uae-artifact-publish
ssrcdevops Nov 3, 2022
7de5a40
Don't exit in case connection establishment fails
jnippula Nov 14, 2022
e8128a7
Add MAV_x_REMOTE_IPn params
jnippula Nov 23, 2022
6375f0b
nuttx/Make.defs.in: Remove -T from linker script name
pussuw Nov 28, 2022
5d22ef2
stm32/bootloader: Fix prototype of bootloader_main
pussuw Nov 28, 2022
5a1a411
px4_init: Fix linker defined symbols after NuttX update
pussuw Nov 23, 2022
3f054f3
Fix usr_hrt to work also in CONFIG_BUILD_KERNEL
jlaitine Dec 5, 2022
2d31e97
[TO_UPSTREAM] control_allocator: Fix some implicit double<->float con…
jlaitine Dec 9, 2022
ef0f900
dds_topics.h.em: Configure data_reader and _writer for ROS2 communica…
jnippula Dec 12, 2022
f1146f6
microdds_client: increase send/recv entity create timeouts
jnippula Dec 12, 2022
515ea3c
Support CamelCase dds topic names
jnippula Dec 14, 2022
f951bc1
dds topics use CamelCase
jnippula Dec 14, 2022
9e41009
microdds_client: add ssrc specific topics
jnippula Dec 12, 2022
f6a1dd9
Simulator tcp server support, -s flag
jnippula Dec 14, 2022
8d4518f
Simulator_mavlink: workaround for mavlink message bug
jnippula Dec 15, 2022
6346c9d
microdds_client: support publish rate control
jnippula Dec 16, 2022
361273c
px4_sitl: add PWM_OUT_SIM driver
jnippula Dec 21, 2022
fd580c6
px4_layer/protected build: Remove px4_mtd from user space px4 layer
pussuw Dec 7, 2022
f1f1926
nuttx/usr_hrt: Fix HRT_CANCEL
pussuw Jan 5, 2023
3609305
nuttx/usr_hrt: Use atexit() instead of shutdown hook to kill user HRT
pussuw Jan 5, 2023
7d42f04
nuttx/usr_hrt: Fix the queue handling in the ioctl glue interface
pussuw Jan 10, 2023
ff806ab
board_ioctl: Remove dependency to lib/builtin.h
pussuw Sep 29, 2022
a16d0d1
launch_kmod: Strip path from the process name
pussuw Nov 23, 2022
1b87143
Add OpenAMP libraries into builds and enable NET_RPMSG
jpaali Sep 16, 2022
bf083a4
nuttx/protected_build: Fix protected build linkage
pussuw Jan 12, 2023
c2cb9f3
Increase SPI wq stack sizes
jlaitine Jan 27, 2023
a97db64
src/modules/logger/log_writer_file.cpp: Increase log_writer_file stack
jlaitine Jan 27, 2023
729ce31
platforms/common/work_queue/hrt_thread.c: Use sigaction instead of si…
jlaitine Aug 11, 2022
117c10e
platforms/common/CMakeLists.txt: Link uorb_msgs to px4_platform
jlaitine Jan 3, 2023
5448888
uORB/mmap: Wrap mmap behind px4_mmap/unmap
pussuw Dec 7, 2022
c0491c6
microdds_client: cleanup pub&sub instances after connection lost
jnippula Feb 1, 2023
2815675
src/drivers/uavcan: CAN drone flight test fixes
haitomatic Jan 30, 2023
bd9c535
src/drivers/uavcan: Use UAVCAN_ENABLE param for correct uavcan dynami…
haitomatic Feb 1, 2023
2ff11d8
mpfs: Use MTIME directly as hrt_absolute_time in protected builds use…
jlaitine Feb 9, 2023
bcbf69a
usr_hrt: Obtain location of MTIME via syscall
pussuw Feb 16, 2023
2229204
crypto_algorithms.h: Add helper macros to get size of signature creat…
jlaitine Feb 16, 2023
682c321
Add enumerations for CRYPTO_ECDSA_P256 and CRYPTO_RSA_SIG signing alg…
jlaitine Feb 17, 2023
40eedf2
Link the px4_secure_random always, but fail with returning 0 if rng d…
jlaitine Mar 20, 2023
83b67b6
Change the ed25519 key format into PEM, verification key into DER and…
jlaitine Mar 21, 2023
7a9c7e8
crypto: Add keystore_deinit interface function
jlaitine Mar 23, 2023
c428fd7
Small fix for cryptotools.py; dump the public key in correct format
jlaitine Mar 23, 2023
d80e07b
modules/uxrce_dds_client: Put uxrce_dds_client to user space
pussuw Mar 14, 2023
98e2cb4
nuttx/CMakeLists: Add linker script selector
pussuw Sep 28, 2022
b5af72a
Add a simple netconfig module to configure ethernet IP's for ssrc dev…
jlaitine Apr 4, 2023
b4f623d
Add configuration flags to netconfig app
jlaitine Apr 5, 2023
1e964ce
ROMFS/px4fmu_common/init.d/rcS: Move executing rc.board_mavlink as la…
jlaitine Apr 5, 2023
3793545
usr_hrt: Start the worker thread only if it is needed
pussuw Apr 17, 2023
a78c362
ROMFS/px4fmu_common/init.d/rcS: Make it possible to define the device…
jlaitine Apr 18, 2023
932fe58
microddsclient Support for multiple topics yaml files
jnippula Apr 18, 2023
ddc8f67
Replace exit() with _exit() as per new nuttx
jlaitine Apr 21, 2023
e24a6da
Add rover interface CAN driver
haitomatic Apr 27, 2023
05463cc
Enable bunker aiframe support in rc.rover_apps
haitomatic Sep 5, 2023
b19c9e3
Select mavlink logging only if there is no SD card available
jnippula May 12, 2023
2645c51
uavcan driver: fix socketcan iface canX type
haitomatic May 16, 2023
afbe845
uavcan: increase RX/TX rate; decrease param request handling rate
haitomatic May 22, 2023
de96683
usr_hrt: Make sure g_abstime_base is valid before dereferencing it
pussuw May 25, 2023
6361688
src/drivers/px4io/px4io.cpp: Fix printf formatter for size_t type
jlaitine May 30, 2023
d1b4eea
cdc_acm_check: Make cdc_acm_check into its own module
pussuw Jun 13, 2023
80f9902
UAVCAN: use esc current absolute value
haitomatic Jun 16, 2023
2b50ce7
include/cxx/cmath: Forward the fpu functions directly to the __builti…
pussuw Jun 14, 2023
3672787
Increase default i2c frequency of rgbled_ncp5623c
jlaitine Jul 11, 2023
89de995
uavcan: change err msg to debug for param get/set
haitomatic Jul 13, 2023
14f1b57
px4_init.cpp: Properly check the return value of mounting procfs
jlaitine Jul 20, 2023
692a333
drivers/ads1115: Fix consecutive warning "ADS1115 not ready!"
pussuw Aug 10, 2023
27c19ff
common/px4_init.cpp: Add dummy dso_handle for kernel CPP modules
pussuw Aug 10, 2023
5ed2339
blockingqueue.hpp: Fix sem_wait not blocking if task is signaled
pussuw Aug 10, 2023
9240c39
common/shutdown.cpp: Start user worker for CONFIG_BUILD_KERNEL
pussuw Aug 10, 2023
f4f5fcb
lib/geo: Use px4_add_library for geo lib
pussuw Aug 14, 2023
4f53f29
platforms/xx: Fix some simple dependencies
pussuw Mar 15, 2023
80804f4
platforms/xx: Simplify protected mode dependencies
pussuw Aug 11, 2023
217b751
nuttx/protected_build: Create kxx library
pussuw Dec 9, 2022
6e2f205
nuttx/config_build_kernel: Add support for building NuttX in kernel mode
pussuw Oct 10, 2022
2a3aab1
nuttx/config_build_kernel: Build the modules into processes
pussuw Nov 11, 2022
cb8256b
nuttx/config_build_kernel: Do not clear environment in kernel
pussuw Dec 9, 2022
90d3d96
nuttx/config_build_kernel: Use symbolic links for starting kernel mod…
pussuw Dec 9, 2022
d537435
nuttx/config_build_kernel: Do not use user malloc etc for kernel modules
pussuw Dec 20, 2022
98cce1d
nuttx/config_build_kernel: Add daemon server for modules
pussuw Apr 6, 2023
57ec62d
nuttx/config_build_kernel: Start all modules as daemon during boot
pussuw Apr 6, 2023
3cdb468
nuttx/config_build_kernel: Start wq:manager on demand
pussuw May 12, 2023
bca3402
nuttx/config_build_kernel: Temporarily disable link with nuttx_xx and _c
pussuw Aug 17, 2023
6c38ff7
nuttx/config_build_kernel: Add submodule for process daemon / tasking…
pussuw Aug 17, 2023
6e758eb
drivers/drv_hrt.h: Fix faulty operator for timebase macros
pussuw Aug 25, 2023
0312cfe
logger/log_writer_file: Disable HARDFAULT_LOG properly
pussuw Aug 22, 2023
7949547
platforms/nuttx: nuttx_drivers needs nuttx_mm on link interface
pussuw Aug 23, 2023
77b1612
simulation gzbridge: add support for rover vehicle type
haitomatic Jun 27, 2023
02e2c00
ROMFS/CMakeLists.txt: Fix dependency for rc.sysinit
pussuw Aug 31, 2023
1a60011
microxrce_client to use px4_poll for uorb subs
jnippula Sep 4, 2023
ebeff1d
src/drivers/adc/ads1115: Change adc_report type to PublicationMulti
jlaitine Sep 5, 2023
1674108
Add new fields to image_toc entries
jlaitine Sep 13, 2023
9cb9a00
add firmware flasher container
joonas-fi Jan 13, 2022
cceaf28
nuttx/tasks.cpp: Enable ENV unconditionally when CONFIG_BUILD_KERNEL=y
pussuw Sep 15, 2023
311d863
systemcmds/xx: Turn some systemcmds into a non-daemon task
pussuw Sep 14, 2023
e4634ba
events: Move implementation of events::send() to lib/events
pussuw Sep 21, 2023
0eb29f5
uORB/callbacks: Increase amount of callbacks to 32 in kernel mode
pussuw Sep 21, 2023
3c6d38f
px4_platform_common/sem.h: Enable SEM_PRIO_INHERIT by default
pussuw Sep 27, 2023
3c8aa09
Add printing of bootloader version into "ver" systemcommand
jlaitine Oct 3, 2023
10ef931
SITL: configurable uxrce ip-address
jnippula Oct 4, 2023
c1829eb
blockingqueue.hpp: Disable priority inheritance for signaling semaphores
pussuw Oct 4, 2023
6d73a39
WorkItemSingleShot: Disable priority inheritance for signaling semaphore
pussuw Oct 4, 2023
d67899d
uORBManager.cpp: Change struct->class SubscriptionCallback
pussuw Oct 5, 2023
15798fd
uORBManager.cpp: Change how old / stale semaphore handles are used
pussuw Oct 5, 2023
c0b62ce
px4_kmmap: Implement kmmap properly for px4
pussuw Oct 3, 2023
c95e33d
uORB: Check that px4_mmap returns a valid pointer
pussuw Oct 3, 2023
1f88aa3
[REVERTME] Disable semaphore PI for CONFIG_BUILD_KERNEL
pussuw Oct 9, 2023
18c4424
uORBManager.hpp: Check handle validity in queue/dequeueCallback
pussuw Oct 5, 2023
be41802
SubscriptionCallback.hpp: Fix race condition in unregisterCb/Poll
pussuw Oct 9, 2023
8194df5
uORBManager.cpp: Make sure the sub is registered (valid) before invok…
pussuw Oct 9, 2023
35b0e0c
Add SSRC arwing and strivermini frames
vnopanen Oct 18, 2023
f4d9a49
Add ulog_stream_acked
jnippula Sep 22, 2023
79b9cbb
saluki-v2: enable pthread_key feature
jnippula Oct 25, 2023
bdd8196
mavlink_ulog: parallel mavlink logging
jnippula Sep 22, 2023
7f41dc1
logger: parallel mavlink logging
jnippula Oct 12, 2023
3f42219
Update boards/ssrc submodules
jlaitine Oct 26, 2023
3c47ac4
github action: sitl-tests to use gazebo-classic
jnippula Oct 26, 2023
81ecbfc
saluki-vx: Update submodules for rpmsg address change
pussuw Oct 26, 2023
e87cbdd
Update boards/ssrc/icicle after re-base
jlaitine Oct 27, 2023
8a517d7
Remove building ssrc target bootloaders in CI
jlaitine Oct 27, 2023
e4fdc74
rover pos control: fix ugv stuttering issue, enable stationary rotati…
haitomatic Oct 26, 2023
83ddc72
rover interface: change params
haitomatic Oct 26, 2023
3c0e166
airframes: update rover airframe default params, add 50007 Bunker Min…
haitomatic Oct 26, 2023
6b604e9
Add and modify gz sim airframes
haitomatic Oct 26, 2023
85fb2fa
packaging: add gz sim compatible px4 sitl container image build
haitomatic Oct 26, 2023
46a9614
simulation: gz sim sitl hamonizing; fix gz bridge rover sim interface
haitomatic Oct 26, 2023
b9d6417
rover pos control: fix yaw output
haitomatic Oct 27, 2023
6cb5cce
packaging: gz sim sitl change px4 branch to main
haitomatic Oct 27, 2023
8fc4a7d
uxrce_client: Do not send PositionSetpointTriplet
jnippula Oct 30, 2023
6de3e92
gitmodules: Set nuttx-apps remote to tiiuae/nuttx-apps/master
pussuw Oct 30, 2023
f86b747
Update nuttx, apps and kernel process submodules
pussuw Oct 30, 2023
e0136d1
platforms/nuttx/src/*/microchip: Change global device_info variable i…
jlaitine Oct 31, 2023
79be544
Update NuttX
jlaitine Oct 31, 2023
6780933
Update boards/ssrc submodules
jlaitine Oct 31, 2023
1b22891
Add '-o' option to groupadd in Dockerfile.build_env
gpoulios Oct 31, 2023
930c673
Avoid fatal error due to git user mismatch
gpoulios Oct 31, 2023
9c28f6e
nuttx/tasks.cpp: Add px4_exec to tasks.cpp (move it from cdcacm check)
pussuw Sep 14, 2023
f1686b0
mavlink/mavlink_shell: Move mavlink shell to its own process in NuttX…
pussuw Sep 14, 2023
3c282ef
DP-7313 add fpga and bootloader-v2 binaries to px4 container
TimoSairiala Oct 27, 2023
7f07ca8
update nuttx: add mpfs_wdog
jnippula Nov 6, 2023
91e403b
px4_reboot_request supports continue_boot option
jnippula Nov 6, 2023
d8471ac
systemcmd/reboot support bl continue boot
jnippula Nov 6, 2023
ead54c4
Move boards/ssrc/icicle to boards/mpfs/icicle
jlaitine Nov 7, 2023
1bfc4b3
Add support to define PX4 signing key via env. variable
t-salminen Oct 18, 2023
181d8cd
Update pfsoc crypto and keystore submodules
jlaitine Nov 3, 2023
b0d214f
Add px4_boards_ssrc to be excluded in clone_public.sh
jlaitine Nov 8, 2023
55633cf
Add boards/ssrc/common submodule
jlaitine Nov 9, 2023
897d1fe
Update boards/ssrc submodules
jlaitine Nov 9, 2023
f8aec93
upload binaries to private jfrog repo
TimoSairiala Nov 14, 2023
a36d4ab
msg: Add uORB messages for publishing system version information
jlaitine Nov 10, 2023
0462de1
mpfs: Publish version messages at boot
jlaitine Nov 10, 2023
e3fe2a4
mpfs: Add fpga version information to device_boot_info struct
jlaitine Nov 10, 2023
146f2f8
uORB/uORBManager.hpp: Fix pre-processor condition
pussuw Nov 14, 2023
7859bee
px4_sem: Re-enable priority inheritance for kernel mode
pussuw Nov 15, 2023
473aa08
SubscriptionCallback: Add lock protecting callback during its execution
pussuw Nov 16, 2023
e75a161
Update nuttx to include patch for kernel mode PI issue
pussuw Nov 16, 2023
79b088e
Update board/ssrc submodules to fix SPI speed for ICM20649
jlaitine Nov 23, 2023
06f77f2
build.sh: Add kernel mode .elf file as saved artifact
pussuw Nov 23, 2023
77a6388
Add message authentication code to PX4Crypto interfaces
jlaitine Nov 16, 2023
8563010
Add more interfaces for PX4Crypto
jlaitine Nov 13, 2023
01ee597
Update pf crypto submodules
jlaitine Nov 13, 2023
897ab52
Add crypto tests
jlaitine Nov 15, 2023
bf98976
Dependabot updates
dependabot[bot] Oct 27, 2023
7c0c1af
Update pfsoc crypto submodules
jlaitine Nov 24, 2023
b517b8b
src/systemcmd/tests: Improve tests_crypto
jlaitine Nov 29, 2023
0d70e10
Update pfsoc crypto submodules
jlaitine Nov 29, 2023
f13117d
src/drivers/sw_crypto: Fix buffer lengths for xchacha20 crypto
jlaitine Nov 29, 2023
608aa8f
Update Tools/saluki-sec-scripts submodule
jlaitine Nov 30, 2023
70978ef
Update boards/ssrc/common for R&D feature flags
jlaitine Nov 30, 2023
9e49787
Add rdfeat systemcmd
jlaitine Nov 30, 2023
b87adac
ROMFS/px4fmu_common/init.d/rcS: Disable execution from SD card if not…
jlaitine Nov 30, 2023
3bbe540
Remove RDCT bitflag definitions from the image_toc.h
jlaitine Nov 30, 2023
d89b274
Update boards/ssrc submodules
jlaitine Dec 1, 2023
f1cf472
Update NuttX submodule for SPI speed correction
jlaitine Dec 1, 2023
bfee66d
Update boards/ssrc submodules for SPI speed corrections
jlaitine Dec 1, 2023
a676345
run blackduck scan on pushed tags
TimoSairiala Nov 28, 2023
3b12db4
platforms/common/uORB: Make consistent use of ATOMIC_ENTER and ATOMIC…
jlaitine Dec 5, 2023
53fb2b0
Update pf crypto submodule
jnippula Dec 5, 2023
a32204f
HITL: mavlink instance start with params
jnippula Dec 11, 2023
bbd9c4c
Navigator: move disable camera trigger on mission inactivation to sep…
sfuhrer Jun 8, 2023
1be1eba
Mission: reset mission on landing only if last item was reached
sfuhrer Jun 8, 2023
d640f35
Navigator: Mission: improve survey mission resume
sfuhrer Jun 8, 2023
d360ab7
simulator_sih: increase stack size by 310 bytes
Igor-Misic May 11, 2023
eb5912c
dataman: refactoring _file_initialize
Igor-Misic May 11, 2023
1fe305d
dataman: add DatamanClient with sync functions
Igor-Misic May 9, 2023
cddbb89
datamanClient: add async functions
Igor-Misic May 9, 2023
7ebcfec
datamanClient: add DatamanCache class
Igor-Misic May 4, 2023
98365b6
datamanClient: add Doxygen documentation for the API.
Igor-Misic May 4, 2023
ec9b4d2
mission: integrate dataman cache
Igor-Misic May 10, 2023
e3f3edd
dataman_client: prevent loading duplicates in the cache
Igor-Misic May 3, 2023
e29ceec
geofence: integrate dataman cache
Igor-Misic May 10, 2023
9cbe41c
rtl: integrate dataman cache
Igor-Misic May 9, 2023
cc55ba3
dataman_client: increase px4_poll timeout to 100_ms
Igor-Misic May 8, 2023
a5150ed
mavlink_mission: remove locking mechanism
Igor-Misic May 10, 2023
3fdbd01
mavlink_mission & mission: move dataman update to mission
Igor-Misic May 10, 2023
504caab
dataman: remove locking mechanism
Igor-Misic May 19, 2023
e2d0367
dataman: add perf_counter
Igor-Misic May 12, 2023
69df2ef
GeofenceBreachAvoidanceTest: bug fix
Igor-Misic May 16, 2023
cbebc06
dataman: update compat version
Igor-Misic May 17, 2023
be9e97e
boards: remove camera capture and trigger from test builds
Igor-Misic May 17, 2023
7189a1f
dataman: add guards for max item value
Igor-Misic May 19, 2023
0a51d9d
ci: allow tests dataman to pass
Igor-Misic May 22, 2023
552348e
navigator: use mission topic to notify about geofence & safe point ch…
bkueng Jun 15, 2023
f9b740f
navigator: defer saving mission until disarmed
bkueng Jun 15, 2023
c5d3174
boards/diatone/mamba-f405-mk2: disable modules to reduce flash
bkueng Jun 16, 2023
2ea3719
boards/px4/fmu-v5/test: disable modules to reduce flash
bkueng Jun 16, 2023
8907ff5
HIL: add --ignore-stdout-errors to run_nsh_cmd.py and use for 'tests …
bkueng Jun 19, 2023
67fec16
fix dataman: treat 0 as valid return for read & ensure to init buffer
bkueng Jun 19, 2023
a55481d
mision: only run mission feasibility checks when mission updated
bkueng Jun 22, 2023
3fe2843
px4/fmu-v6x: disable batt_smbus for now to reduce flash
bkueng Jul 24, 2023
4072914
lib/dataman: Port dataman/datamanclient to new uORB
pussuw Dec 7, 2023
c1f9829
mission: On an updated mission, don't assume per default that the mis…
KonradRudin Jul 26, 2023
bda13a5
mavlink-mission: Initialize the safepoint and mission counter from th…
KonradRudin Jul 26, 2023
9f4fbbd
update saluki-v3
jnippula Dec 12, 2023
2ba8ffb
Update saluki-v2 and nuttx submodules
pussuw Dec 13, 2023
fe222f3
navigator/MissionFeasibility: Fix orb_publish interface for the new uORB
jlaitine Dec 13, 2023
06d44f7
uORB: Fix uORB wrap-around test, set _data_valid = true together with…
jlaitine Dec 13, 2023
df48443
Change some printfs to PX4_INFO to "make tests" to pass
jlaitine Dec 13, 2023
006b959
cmake/gtest/px4_add_gtest.cmake: Link gtests to events
jlaitine Dec 14, 2023
eb5c076
build px4 custom signed binaries
TimoSairiala Dec 7, 2023
fb8bd97
uORB: Optimize callbacks in protected builds
jlaitine Dec 8, 2023
394cfc6
Set callback thread priority to nav_and_controllers priority
jlaitine Dec 18, 2023
c46237e
uORB: Fix a bug in IndexedStack rm
jlaitine Dec 11, 2023
6dcd65c
Update saluki-sec-scripts submodule
jlaitine Dec 19, 2023
6fcb391
Update nuttx submodule
jlaitine Dec 19, 2023
7d51159
Update boards/ssrc submodules
jlaitine Dec 19, 2023
1841fe3
SITL: select UDP/TCP-server/TCP-client according to ENV variables
jnippula Dec 20, 2023
0cf0572
SITL: fix parse error on start
julianoes May 4, 2023
63e5611
SITL: fix parse error due to logging
mehmetkillioglu Dec 21, 2023
e688b40
SITL airframe for ssrc_fog_x fixed
mehmetkillioglu Dec 21, 2023
f1cb5b9
build(deps): bump docker/login-action from 2 to 3
dependabot[bot] Nov 27, 2023
a84ac3c
Update nuttx submodule
pussuw Jan 10, 2024
3eb5581
nuttx/toc: Add image config message to ToC
pussuw Jan 9, 2024
609977d
Update pf_crypto submodule
pussuw Jan 11, 2024
017b616
Update saluki common submodule
pussuw Jan 12, 2024
6795ba7
Update saluki common submodule
pussuw Jan 15, 2024
f42b0db
Update NuttX submodule for mpfs i2c corrections
jlaitine Jan 11, 2024
0097b6b
Update saluki common submodule
jnippula Jan 17, 2024
f3a8744
mavlink_ulog: always update ulog_stream_acked uorb even check_for_upd…
jnippula Jan 17, 2024
94301da
Update NuttX submodule for PLIC warm reboot initialization fix
jlaitine Jan 17, 2024
92ef045
Add CRC code to every block stored in px4_24xxxx_mtd.c
jlaitine Jan 17, 2024
e45dc83
px4_init.cpp: Define __cxa_atexit() here
pussuw Jan 18, 2024
d783993
Updated FPGA to sha-4230961
kordets Jan 19, 2024
c1ba103
Update saluki-v2 submodule
pussuw Jan 23, 2024
92dee64
Update saluki common submodule
pussuw Jan 24, 2024
851b188
Updated 4401 (M690B) tuning parameters for more stable flight
kordets Jan 23, 2024
ebd9f38
add manual input for fpga version
TimoSairiala Dec 19, 2023
0357a57
Revert "mavlink_ulog: always update ulog_stream_acked uorb even check…
jnippula Jan 25, 2024
e4e0960
Param MAV_ULOG_MAX_RT for ulog rate control
jnippula Jan 23, 2024
a24893a
LMC logger: do not use reliable for ADD_LOGGED_MSG in data logger side
jnippula Jan 24, 2024
e17c4cb
Reduce ulog rate default value to 0.2
jnippula Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .ci/Jenkinsfile-hardware
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ pipeline {
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "sd_stress"'

// test dataman
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "tests dataman"'
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "tests dataman" --ignore-stdout-errors'

sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "tests file" || true'
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "uorb_tests"'
Expand Down Expand Up @@ -449,7 +449,7 @@ pipeline {
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "uorb_tests latency_test" || true'

// test dataman
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "tests dataman"'
sh './Tools/HIL/run_nsh_cmd.py --device `find /dev/serial -name *usb-*` --cmd "tests dataman" --ignore-stdout-errors'
}
}
stage("status") {
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
34 changes: 0 additions & 34 deletions .github/workflows/cflite_batch.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: make ${{matrix.check}}
- name: upload coverage
if: contains(matrix.check, 'coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_linux_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: macos_${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile_nuttx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
run: ccache -s

- name: Upload px4 package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_package_${{matrix.config}}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ekf_update_change_indicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: echo "CHANGE_INDICATED=$(git diff --exit-code --output=/dev/null || echo $?)" >> $GITHUB_ENV
working-directory: src/modules/ekf2/test/change_indication
- name: auto-commit any changes to change indication
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[AUTO COMMIT] update change indication'
commit_user_name: ${GIT_COMMITTER_NAME}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mavros_mission_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core
Expand All @@ -101,21 +101,21 @@ jobs:

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4

- name: Store PX4 log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_log
path: ~/.ros/log/*/*.ulg

- name: Store ROS log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: ros_log
path: ~/.ros/**/rostest-*.log
Expand All @@ -132,7 +132,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavros_mission
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mavros_offboard_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core
Expand All @@ -96,21 +96,21 @@ jobs:

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4

- name: Store PX4 log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: px4_log
path: ~/.ros/log/*/*.ulg

- name: Store ROS log
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: ros_log
path: ~/.ros/**/rostest-*.log
Expand All @@ -127,7 +127,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavros_offboard
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sitl_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.ccache
key: sitl_tests-${{matrix.config.build_type}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -104,14 +104,14 @@ jobs:
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"
- name: Upload px4 coredump
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: coredump
path: px4.core

- name: Upload px4 binary
if: failure()
uses: actions/upload-artifact@v2-preview
uses: actions/upload-artifact@v3.1.3
with:
name: binary
path: build/px4_sitl_default/bin/px4
Expand All @@ -128,7 +128,7 @@ jobs:
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info
- name: Upload coverage information to Codecov
if: contains(matrix.config.build_type, 'Coverage')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: mavsdk
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/tiiuae-blackduck-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: tiiuae-blackduck-scan

on:
push:
tags:
- 'v1.14.0-*'
workflow_dispatch:

jobs:
scan:
name: run blackduck scan
runs-on: ubuntu-latest
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_REPO_TOKEN }}
submodules: 'recursive'
path: px4-firmware
fetch-depth: 0
- name: Run the scan
run: |
set -exu

# initialise configuration values
bd_project_name=px4-1.14.0
bd_project_version=${{ github.ref_name }}
bd_project_phase=DEVELOPMENT
workdir=$(pwd)
blackduck_url="https://blackduck.ssrc.fi"
blackduck_token=${{ secrets.BLACKDUCK_ACCESS_TOKEN }}
project_id="7900cb41-3b7e-4985-8935-5d6c6b996db3"
bdscan_output_file=bdscan_output.log

# run the actual scan
bash <(curl -s -L https://detect.synopsys.com/detect8.sh) \
--blackduck.api.token=$blackduck_token \
--blackduck.trust.cert=true \
--blackduck.url=$blackduck_url \
--detect.blackduck.signature.scanner.snippet.matching=FULL_SNIPPET_MATCHING \
--detect.blackduck.signature.scanner.upload.source.mode=true \
--detect.excluded.detector.types=PEAR \
--detect.impact.analysis.enabled=true \
--detect.project.application.id=$bd_project_name \
--detect.project.name=$bd_project_name \
--detect.project.version.name=$bd_project_version \
--detect.project.version.phase=$bd_project_phase \
--detect.source.path=$workdir \
--detect.target.type=SOURCE \
--detect.timeout=6000 \
--detect.tools=ALL \
--detect.wait.for.results=true \
| tee ${bdscan_output_file}

# find blackduck link from output log:
grep 'Black Duck Project BOM:' ${bdscan_output_file} |sed 's/^.*Black Duck Project BOM: //g' >> $GITHUB_STEP_SUMMARY
42 changes: 42 additions & 0 deletions .github/workflows/tiiuae-builder-images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: tiiuae-builder-images

on:
# Run only manually
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
hw-builder-image:
name: create docker builder base image
runs-on: ubuntu-latest
steps:
- name: Checkout px4-firmware
uses: actions/checkout@v4
with:
path: px4-firmware
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/tiiuae/px4-firmware-builder-base
tags: |
type=raw,value=latest
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build builder base image and push
uses: docker/build-push-action@v5
with:
context: .
file: ./px4-firmware/packaging/Dockerfile.build_env_pre
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
18 changes: 18 additions & 0 deletions .github/workflows/tiiuae-check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Make check_format before PULLREQUEST.


name: check_format

on: [pull_request]

jobs:
main:
name: Validate testfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Lint
run: |
sudo apt update -y && sudo apt install -y --no-install-recommends make astyle
make check_format
Loading
Loading