auto_polarity_probe
Force-fires OPU columns to infer sensor direction from centroid shifts, producing a direction map for wiring reflex morphology without manual motor-convention decoding.
Instructions
Empirically discover OPU column -> sensor direction by force-firing each column.
For each column x in columns (default [0, 1]): force-fire
(x, 0, intensity_z), wait settle_ms, snapshot the sensor, and report the
weighted-z centroid shift. The result is an inferred direction map you can use
to wire your reflex morphology without manually decoding the embodiment's
motor convention.
Set include_mujoco_physics=True to append MuJoCo
embodiment_get_physics_state samples (actuator ctrl / joint qpos)
per column so a no_change in FEAGI’s sensor frame can be compared to
ground truth from the simulator’s introspection server (requires
auto-discovered or reachable controller URL).
Requires the embodiment agent to be subscribed to motor output for opu_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opu_id": "<opu_id>",
"sensor_id": "<sensor_id>"
},
"name": "auto_polarity_probe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opu_id | Yes | ||
| columns | No | ||
| repeats | No | ||
| sensor_id | Yes | ||
| settle_ms | No | ||
| intensity_z | No | ||
| controller_id | No | mujoco | |
| include_mujoco_physics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||