Add sensor
add_sensorInstalls a new sensor on the rover body and applies type defaults for unspecified position, facing angle, range, and display name.
Instructions
Install a new sensor on the rover body. Unspecified fields use the type defaults (centre of the body, facing forward).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Local x in px (forward +, rear −) | |
| y | No | Local y in px (right side +, left side −) | |
| name | No | Display name | |
| type | Yes | ||
| angle | No | Facing angle in degrees, 0 = forward, 90 = right side (wrapped to −180…180) | |
| range | No | Detection range in cm | |
| enabled | No |