calibrate_accelerometer
Calibrate the accelerometer to fix 'not level' and 'accel not calibrated' arming blocks. Place the aircraft level, then run to sample and save zero-level to EEPROM.
Instructions
Calibrate the accelerometer (zero-level). Fixes most 'not level' / 'accel not calibrated' arming blocks.
Sends MSP_ACC_CALIBRATION; iNAV samples for ~2s and saves to EEPROM automatically (no reboot).
BEFORE running: set the board/aircraft on a LEVEL surface in its normal flight orientation and DO NOT move it until this returns.
Gates: connected, not armed, confirm=True (dry-run otherwise).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calibrate_accelerometer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |