Add launch tracing example

This commit is contained in:
Christophe Bedard 2019-10-13 15:29:21 -07:00
parent 25f1913409
commit ce17f503d1

View file

@ -42,7 +42,11 @@ By default, it will enable all ROS tracepoints and a few kernel tracepoints. The
### Launch file trace action
Another option is to use the `Trace` action in a launch file along with your `Node` action(s).
Another option is to use the `Trace` action in a launch file along with your `Node` action(s). This way, tracing happens when launching the launch file.
```
$ ros2 launch tracetools_launch example.launch.py
```
See [this example launch file](./tracetools_launch/launch/example.launch.py) for more information.