mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
restart node
This commit is contained in:
@@ -48,7 +48,7 @@ def generate_launch_description():
|
||||
on_exit=[
|
||||
LogInfo(msg='[Launch] RPLIDAR crashed — restarting in 2s...'),
|
||||
TimerAction(
|
||||
period=2.0,
|
||||
period=0.5,
|
||||
actions=[OpaqueFunction(function=lambda *_: create_lidar_with_restart())]
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user