Files
wehub-resource-sync db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:36:23 +08:00

47 lines
1.5 KiB
Python

"""ROS2 launch file for integration tests: rosbridge + turtlesim + rosapi."""
from launch.actions import DeclareLaunchArgument
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import Node
from launch import LaunchDescription
def generate_launch_description():
return LaunchDescription(
[
DeclareLaunchArgument("port", default_value="9090"),
DeclareLaunchArgument("address", default_value=""),
Node(
package="turtlesim",
executable="turtlesim_node",
name="turtlesim",
output="screen",
),
Node(
package="rosbridge_server",
executable="rosbridge_websocket",
name="rosbridge_websocket",
output="screen",
parameters=[
{
"port": LaunchConfiguration("port"),
"address": LaunchConfiguration("address"),
"use_compression": False,
"max_message_size": 10000000,
"unregister_timeout": 10.0,
"service_timeout": 5,
"send_action_goals_in_new_thread": True,
"call_services_in_new_thread": True,
}
],
),
Node(
package="rosapi",
executable="rosapi_node",
name="rosapi",
output="screen",
),
]
)