Add 'tracetools_launch/' from commit 'f673331bd1
'
git-subtree-dir: tracetools_launch git-subtree-mainline:a507bbce6e
git-subtree-split:f673331bd1
This commit is contained in:
commit
c9d2f35887
7 changed files with 140 additions and 0 deletions
21
tracetools_launch/launch/example.launch.py
Normal file
21
tracetools_launch/launch/example.launch.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Example launch file for the Trace action
|
||||
|
||||
from launch import LaunchDescription
|
||||
from launch_ros.actions import Node
|
||||
from tracetools_launch.trace import Trace
|
||||
|
||||
|
||||
def generate_launch_description():
|
||||
return LaunchDescription([
|
||||
Trace(
|
||||
session_name='my-tracing-session',
|
||||
base_path='/tmp'),
|
||||
Node(
|
||||
package='examples_rclcpp_minimal_publisher',
|
||||
node_executable='publisher_member_function',
|
||||
output='screen'),
|
||||
Node(
|
||||
package='examples_rclcpp_minimal_subscriber',
|
||||
node_executable='subscriber_member_function',
|
||||
output='screen'),
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue