2023-07-24 14:57:23 +03:00
|
|
|
from launch_ros.actions import Node
|
|
|
|
from launch import LaunchDescription
|
|
|
|
|
|
|
|
def generate_launch_description():
|
|
|
|
declared_arguments = []
|
|
|
|
|
2024-04-01 17:46:43 +03:00
|
|
|
rbs_interface = Node(
|
|
|
|
package="rbs_perception",
|
|
|
|
executable="rbs_interface.py",
|
|
|
|
)
|
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
|
|
|
)
|
2024-01-22 12:51:01 +00:00
|
|
|
object_detection = Node(
|
|
|
|
package="rbs_perception",
|
|
|
|
executable="detection_lifecycle.py",
|
|
|
|
)
|
2023-11-16 13:15:27 +03:00
|
|
|
|
2023-07-24 14:57:23 +03:00
|
|
|
nodes_to_start = [
|
2024-04-01 17:46:43 +03:00
|
|
|
rbs_interface,
|
2024-01-22 12:51:01 +00:00
|
|
|
pose_estimation,
|
|
|
|
object_detection,
|
2023-07-24 14:57:23 +03:00
|
|
|
]
|
|
|
|
return LaunchDescription(declared_arguments + nodes_to_start)
|