Merge branch '78-launch_ros-get_default_launch_description-is-now-deprecated' into 'master'

Remove launch_ros.get_default_launch_description

Closes #78

See merge request micro-ROS/ros_tracing/ros2_tracing!160
This commit is contained in:
Christophe Bedard 2020-03-18 14:42:10 +00:00
commit 846f77f933

View file

@ -21,7 +21,6 @@ from typing import Tuple
from launch import LaunchDescription from launch import LaunchDescription
from launch import LaunchService from launch import LaunchService
from launch_ros import get_default_launch_description
from launch_ros.actions import Node from launch_ros.actions import Node
from tracetools_launch.action import Trace from tracetools_launch.action import Trace
from tracetools_read import DictEvent from tracetools_read import DictEvent
@ -72,7 +71,6 @@ def run_and_trace(
launch_actions.append(n) launch_actions.append(n)
ld = LaunchDescription(launch_actions) ld = LaunchDescription(launch_actions)
ls = LaunchService() ls = LaunchService()
ls.include_launch_description(get_default_launch_description())
ls.include_launch_description(ld) ls.include_launch_description(ld)
exit_code = ls.run() exit_code = ls.run()