count_in_view
Count objects visible from the current vantage point, avoiding the running total so later views can be de-duplicated. Call repeatedly while moving, then commit the final count.
Instructions
Count matching instances from the current vantage point only. The call is never told the running total — do not add previous looks yourself. Each instance is boxed and lifted with lidar so later looks can be de-duplicated. If sufficient is false, drive as next_view suggests (or ground the anchor) and count_in_view again. When you are done looking, call commit_count — that publishes the clustered integer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | ||
| target | Yes | ||
| question | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |