mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 11:51:16 -05:00
Merge remote-tracking branch 'origin/main' into can-refactor
This commit is contained in:
@@ -8,6 +8,7 @@ from launch.substitutions import (
|
||||
PathJoinSubstitution,
|
||||
)
|
||||
from launch_ros.actions import Node
|
||||
from launch.conditions import IfCondition
|
||||
|
||||
|
||||
# Prevent making __pycache__ directories
|
||||
@@ -51,6 +52,7 @@ def launch_setup(context, *args, **kwargs):
|
||||
executable="ptz", # change as needed
|
||||
name="ptz",
|
||||
output="both",
|
||||
condition=IfCondition(LaunchConfiguration("use_ptz", default="true")),
|
||||
# Currently don't shutdown all nodes if the PTZ node fails, as it is not critical
|
||||
# on_exit=Shutdown() # Uncomment if you want to shutdown on PTZ failure
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user