get_comprehensive_position
Retrieve commanded, hall sensor, and external encoder positions from a motor in a single call.
Instructions
Get the desired motor position, hall sensor position, and external encoder position all in one shot [Firmware command "Get comprehensive position", group: Status & Monitoring.] Returns:
commandedPosition: The commanded position (which may differ from actual)
hallSensorPosition: The hall sensor position (or you could say the actual measured position)
externalEncoderPosition: The external encoder position. This needs special hardware attached to the motor to work motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).
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": {
"motor": "<motor>"
},
"name": "get_comprehensive_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes |