restart node

This commit is contained in:
acki
2025-11-19 18:44:10 +01:00
parent 060c4f15e7
commit 71973a3b5b

View File

@@ -48,7 +48,7 @@ def generate_launch_description():
on_exit=[
LogInfo(msg='[Launch] RPLIDAR crashed — restarting in 2s...'),
TimerAction(
period=0.5,
period=0.3,
actions=[OpaqueFunction(function=lambda *_: create_lidar_with_restart())]
)
]