restart node

This commit is contained in:
acki
2025-11-19 18:44:04 +01:00
parent d9d3df4df9
commit 060c4f15e7

View File

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