Find a warehouse object with camera rays

Trace a YOLO detection into the warehouse twin and observe a simulated robot navigate to it.

Exercise brief·Advanced·4 min read

Opening the Python editor…

Requirements and learning goals

Before you start

  • Python 3.12 and the demos repository
  • Licensed Wendy Sandbox runtime and the companion localization app

You will be able to

  • Trace detection, geometric localization, planning, and arrival separately

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?

This project joins object detection, camera geometry, and robot navigation into one demonstration. finds an object in an image; a calibrated ray estimates its room location; a planner finds a reachable approach. You will trace those separate results so you can tell whether a failure comes from recognition, geometry, or navigation.

The warehouse demo connects four camera feeds, a YOLO11n detector, calibrated camera rays, AMCL, which estimates robot pose by matching range observations to a map, and a simulated Go2. Live navigation uses detected pixels and measured range observations; known object positions belong to verification.

Use the camera geometry lessons to inspect each step before connecting the resulting coordinates to robot navigation.

Checkpoint 1 of 2

In one run, the box is drawn around the correct object, but the projected destination is two meters from where the object stands. Which stage should you investigate first?

Commit to an answer. Every choice explains itself.

Check access before you start

This exercise requires a separately licensed Wendy Sandbox runtime. Cloning the demos repository does not provide it. You also need Docker for the companion localization and graphics support for rendering. The first run also downloads assets and trains the demo detector; setup time depends on your machine.

If you do not have the runtime, start with YOLO on a saved image or the browser camera-ray lesson. Both let you study part of the pipeline without this licensed simulator.

Clone the demos repository and record the revision you use:

git clone https://github.com/wendylabsinc/demos.git
cd demos
git rev-parse HEAD

Run the source demo

Follow the companion localization simulation setup first. It builds the ROS container, generates a map, and starts AMCL with simulated input enabled. Keep that container running in its terminal.

In a second terminal, change into demos/warehouse-demo. Replace the runtime path below with your licensed runtime directory:

export WENDY_SIM_RUNTIME=/path/to/wendy-sandbox/image/sim
export LOCALIZATION_URL=http://127.0.0.1:18790
./run.sh

Open http://127.0.0.1:18992, select a supported object, and choose Find it.

Keep the demo running. If it waits for localization, inspect http://127.0.0.1:18790/status. For missing runtime files, check the licensed directory against the source README.

Trace one result

Record the camera, detected box, projected destination, localization state, planned route, and arrival event. Check that the approach point is reachable and the robot pose is fresh.

./.venv/bin/python validate_items.py
./.venv/bin/python verify.py

Run verify.py after arrival. Inspect runtime/verification.json, runtime/events.jsonl, and annotated images under runtime/items-validation*. Ground truth may score the estimate, but must not supply the destination.

Stop the demo and the localization container with Ctrl+C in their respective terminals when finished.

Extend toward hardware

The demo has not established physical warehouse operation. Replace simulated cameras and range inputs with real adapters, survey camera poses, validate robot localization, and test a stationary target before enabling bounded motion. Stop on stale observations or ambiguous localization. A successful ray intersection alone is not a movement authorization.

Checkpoint 2 of 2

On hardware, a detection produces a clean ray intersection on the floor, but the robot's localization is ambiguous. What should the system do?

Commit to an answer. Every choice explains itself.

Source: Warehouse camera search and its requirements.

Can you do each of these?

  • Trace detection, geometric localization, planning, and arrival separately

0 of 2 checkpoints solved. Try checkpoint 1

The project lab
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.