1. Connect and localize
Start in a project folder with a GRID development session:.venv Python environment
(or select that kernel if you use the downloadable notebook). Run the snippets
in order in one Python session. Set your registered robot name and use the numbered selectors.
The robot must have navigation enabled.
MISSION_PAGE if needed.
2. Set the observation task
Choose an RGB camera, such asfront_left on Vision60 or head_camera_left on R1Pro.
Start with OBJECT = "door". The client uses credentials from the CLI session.
Each run saves its images and records in a new folder.
Support code — run once; reading is optional
Support code — run once; reading is optional
This helper reads a camera image, calls the detector, and saves evidence.
It also logs images and counts to the Telemetry UI when available.
3. Check one image while stationary
Confirm the full image shows the correct camera and surroundings. Zero detections is valid. A dark, stale, blurred, or wrong-camera image is not useful evidence. The helper checks for missing or nearly black images; you must check the rest.4. Run the mission and detect objects
This cell moves the robot after RUN. It calls the camera and detector in sequence. Slow requests reduce the sampling rate.blocking=False lets the notebook continue
while the robot executes the mission.
finally block requests cancellation after completion, errors, or interruption,
including a failure during mission start. Confirm that the physical robot stopped.
Sensor, inference, and telemetry requests can delay cancellation. The time limit
is checked between samples; it is not a hard stop deadline. Use the e-stop if needed.
Inspect nav.result() and nav.events() after an error. A mission that ended did
not necessarily succeed. Review saved samples even if navigation failed.