Locate a thermal event in a digital twin
Map simulated temperature pixels onto warehouse surfaces and inspect local response decisions.
Opening the Python editor…
Requirements and learning goals
Before you start
- Python 3.12 and the demos repository
You will be able to
- Separate temperature detection from geometric localization
- Explain the boundary between a simulator and a physical protection system
The browser exercise above works without extra setup. The project brief below assumes the listed prerequisites and gives you a task and checks to perform. Need a guided first project?
A thermal camera measures a temperature pattern across an image. A calibrated twin can connect a hot pixel to a surface in the room, making the reading useful for locating an event. This simulated project lets you trace that path and inspect why a particular response zone was selected.
The thermal warehouse demo uses 88 simulated radiometric cameras and a calibrated scene. Its detector consumes temperature arrays. After confirming a hot region, the twin maps pixels onto visible surfaces and selects nearby simulated sprinkler zones.
Keep source identity and capture time when bringing sensors into the app, so stale thermal readings do not look like current scene conditions.
Run and inspect
Clone the demos repository and enter the project:
git clone https://github.com/wendylabsinc/demos.git
cd demos/warehouse-fire
git rev-parse HEADKeep the revision in your notes. The launcher needs Python 3.12 and installs dependencies on its first run, so allow extra setup time and network access. Start it with:
./run.sh --autoOpen http://127.0.0.1:8788. Watch the automatic scenario, then reset it and add one event through the map. Compare the hot camera pixels, estimated world position, and activated zone.
The model includes occluding racks: a ray cannot see through an opaque shelf. Temperature evolution and water cooling are simplified. is not performing validated combustion or fluid simulation here.
Check the behavior
./.venv/bin/python -m unittest discover -s tests -v
./.venv/bin/python verify.pyInspect runtime/verification.json. The verifier compares estimates against isolated ground truth and checks local zone selection. That establishes simulated behavior only.
Stop the demo with Ctrl+C after saving your observations.
Read the hardware boundary
The supplied gateway contract expects calibrated Celsius arrays with capture timestamps and increasing sequence numbers. A colored thermal JPEG is insufficient. A physical installation also needs surveyed and poses, authenticated gateways, actuator acknowledgements, and independent protection interlocks.
For this lesson, keep all actuator responses simulated. Optional extension: feed a recorded temperature sequence through an observation-only adapter and confirm that stale or malformed frames produce a fault rather than a false resolution.
Source: Thermal warehouse architecture, gateway contract, and limits.
Before you move on
Can you do each of these?
- Separate temperature detection from geometric localization
- Explain the boundary between a simulator and a physical protection system
0 of 2 checkpoints solved. Try checkpoint 1