Find a warehouse object with camera rays
Trace a YOLO detection into the warehouse twin and observe a simulated robot navigate to it.
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.
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 HEADRun 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.shOpen 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.pyRun 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.
Before you move on
Can you do each of these?
- Trace detection, geometric localization, planning, and arrival separately
0 of 2 checkpoints solved. Try checkpoint 1