ros2-realtime-demo / pendulum

ROS, ROS2, real-time, control, pendulum
Apache License 2.0
132 stars 38 forks source link

Split launch tracing in separate launch files #68

Closed carlossvg closed 3 years ago

carlossvg commented 3 years ago

This PR separates the pendulum tracing capabilities into separate launch files. This way it's not mandatory to have tracetools installed in the workspace to use the main launch file.

How to test:


# Normal launch
ros2 launch pendulum_bringup pendulum_bringup.launch.py

# With tracing enabled
ros2 launch pendulum_bringup pendulum_trace.launch.py

# With tracing memory enabled
ros2 launch pendulum_bringup pendulum_trace_memory.launch.py

# With tracing and rviz enabled
ros2 launch pendulum_bringup pendulum_trace.launch.py rviz:=True
carlossvg commented 3 years ago

@LanderU @christophebedard Could you please review this?

carlossvg commented 3 years ago

I reviewed the documentation and it seems that we don't have yet any instructions explaining how to use ros2 tracing with the demo. I think this deserves one specific document explaining how to use it.