runtime/rbs_bt_executor/launch/rbs_executor.launch.py

24 lines
744 B
Python
Raw Permalink Normal View History

2023-02-03 07:04:12 +00:00
from launch import LaunchDescription
2023-12-29 22:55:27 +03:00
from launch.actions import DeclareLaunchArgument
2023-02-03 07:04:12 +00:00
from launch_ros.actions import Node
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch_ros.substitutions import FindPackageShare
2023-02-03 07:04:12 +00:00
2023-11-16 13:15:27 +03:00
def generate_launch_description():
2023-11-14 13:04:11 +03:00
executor_params = PathJoinSubstitution([FindPackageShare("rbs_bt_executor"), "config", "bt_executor.yaml"])
2023-12-29 22:55:27 +03:00
nodes_to_start = [
2023-02-03 07:04:12 +00:00
Node(
package='rbs_bt_executor',
executable='rbs_bt_executor',
2024-04-22 15:06:46 +03:00
# prefix=['gdbserver localhost:1234'],
parameters=[
executor_params,
2024-04-22 15:06:46 +03:00
{'use_sim_time': True}
],
)
2023-12-29 22:55:27 +03:00
]
return LaunchDescription(nodes_to_start)