Locate a thermal event in a digital twin

Map simulated temperature pixels onto warehouse surfaces and inspect local response decisions.

Exercise brief·Intermediate·3 min read

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 HEAD

Keep 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 --auto

Open 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.

Checkpoint 1 of 2

From one camera's position, an opaque rack stands between the camera and a hot region on the floor. Where do that camera's rays toward the region end in the twin?

Commit to an answer. Every choice explains itself.

Check the behavior

./.venv/bin/python -m unittest discover -s tests -v
./.venv/bin/python verify.py

Inspect 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.

Checkpoint 2 of 2

A hot region was confirmed. The frames that follow all carry old capture timestamps. What should an observation-only adapter report?

Commit to an answer. Every choice explains itself.

Source: Thermal warehouse architecture, gateway contract, and limits.

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

Previous: Find a warehouse object with camera rays
All lessons in this topic
  1. 1. Find a warehouse object with camera rays
  2. 2. Locate a thermal event in a digital twin
  3. 3. Build a robot guide that knows when it is uncertain
  4. 4. Compare two survey flights in a simulated construction yard
  5. 5. Connect a sensor reading to an edge dashboard

Ask Wendy

Answers about Wendy and WendyOS

What would you like to know?

Ask about devices, development, and deployment.

Check linked docs for technical details.