Face an object
face_objectFind a specified object, label, or taught colour with the robot's onboard AI vision and turn to face it. If not in view, search by turning in 45° steps.
Instructions
Find an object with the robot's onboard AI vision and turn to face it. Works for what the onboard AI knows (sports balls, blue and orange barrels, other AIM robots, AprilTags), labelled objects, and colours taught with teach_colour or the control panel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Instead of target: the label of an object the person named in the control panel (e.g. 'left post'), or a taught colour (e.g. 'red cup') | |
| search | No | If it's not in view, turn in 45° steps (up to a full circle) looking for it | |
| target | No | any | |
| speed_percent | No |