From fdd00fbd31b74e99d51998d70dc73bad5161eb15 Mon Sep 17 00:00:00 2001 From: Eric Katzfey Date: Wed, 22 Apr 2026 15:47:55 -0700 Subject: [PATCH] feat(boards/modalai/voxl2): Add timeout to voxl-reset-slpi command in service file and update package dependencies as needed --- boards/modalai/voxl2/cmake/package.cmake | 2 +- boards/modalai/voxl2/debian/voxl-px4.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/modalai/voxl2/cmake/package.cmake b/boards/modalai/voxl2/cmake/package.cmake index efd2c7d13d..fd046eafd3 100644 --- a/boards/modalai/voxl2/cmake/package.cmake +++ b/boards/modalai/voxl2/cmake/package.cmake @@ -47,7 +47,7 @@ set(CPACK_PACKAGING_INSTALL_PREFIX "/usr") set(CPACK_INSTALL_PREFIX "/usr") set(CPACK_SET_DESTDIR true) -set(CPACK_DEBIAN_PACKAGE_DEPENDS "libfc-sensor (>=1.0.10), voxl-px4-params (>=0.3.10), voxl3-system-image(>=0.0.2) | voxl2-system-image(>=1.5.4) | rb5-system-image(>=1.6.2), modalai-slpi(>=1.2.2) | modalai-adsp(>=1.0.5)") +set(CPACK_DEBIAN_PACKAGE_DEPENDS "voxl-reset-slpi(>=0.0.3), libfc-sensor (>=1.0.10), voxl-px4-params (>=0.3.10), voxl3-system-image(>=0.0.2) | voxl2-system-image(>=1.5.4) | rb5-system-image(>=1.6.2), modalai-slpi(>=1.2.3) | modalai-adsp(>=1.0.7)") set(CPACK_DEBIAN_PACKAGE_CONFLICTS "px4-rb5-flight") set(CPACK_DEBIAN_PACKAGE_REPLACES "px4-rb5-flight") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "PX4 Autopilot for ModalAI VOXL2") diff --git a/boards/modalai/voxl2/debian/voxl-px4.service b/boards/modalai/voxl2/debian/voxl-px4.service index 28ec127b33..084cb2f9d6 100644 --- a/boards/modalai/voxl2/debian/voxl-px4.service +++ b/boards/modalai/voxl2/debian/voxl-px4.service @@ -6,7 +6,7 @@ Requires=sscrpcd.service [Service] ExecStartPre=/bin/sleep 2 ExecStart=/usr/bin/voxl-px4 -ExecStopPost=/usr/bin/voxl-reset-slpi +ExecStopPost=/usr/bin/voxl-reset-slpi -t 10000 Restart=on-failure [Install]