00
In productionbeginnerNode lifecycle

The node exits immediately

Make `/sensor_node` stay alive so it appears in the graph, without changing how it is launched.

Pairs with Nodes and the computation graph in Learn ROS 2 from the basics. Read the concept first, then diagnose it here.

Open repair workspace

Operator report

The program runs and returns instantly; `/sensor_node` never appears in `ros2 node list`.

Ubuntu 24.04, ROS 2 Jazzy, rclpy, a single-package browser workspace

01

System boundary

Trace only the relevant path.

3 nodes
  1. 01rclpy.init
  2. 02node created
  3. 03executor spinOUT
02

How this lab works

You diagnose it. No command list.

Open the repair workspace and gather your own evidence in a real terminal. No diagnostic commands are handed to you - finding the fault is the exercise. Stuck? Progressive hints unlock inside the workspace.

03

Verification

Pass more than the visible symptom.

4 checks
  • Node stays alive
  • Node appears in the graph
  • Hidden regression behavior
  • Root cause explanation