runtime/rbs_perception/launch/perception.launch.py

16 lines
381 B
Python
Raw Normal View History

2023-07-24 14:57:23 +03:00
from launch_ros.actions import Node
from launch import LaunchDescription
def generate_launch_description():
declared_arguments = []
2023-11-16 13:15:27 +03:00
pose_estimation = Node(
2023-07-24 14:57:23 +03:00
package="rbs_perception",
2023-11-16 13:15:27 +03:00
executable="pose_estimation_lifecycle.py",
2023-07-24 14:57:23 +03:00
)
2023-11-16 13:15:27 +03:00
2023-07-24 14:57:23 +03:00
nodes_to_start = [
2023-11-16 13:15:27 +03:00
pose_estimation
2023-07-24 14:57:23 +03:00
]
return LaunchDescription(declared_arguments + nodes_to_start)