v1
cable-position
Set cable position
Sets the cable encoder position to a specific value in meters.
This operation manually assigns a specific position value to the current encoder reading, useful for correcting position readings or setting the encoder to match a known cable length. The position can be positive or negative depending on your reference system.
put/api/v1/reel/encoder/count
Request body
Example request
{
"description": "Set cable position to 15.5 meters",
"name": "Standard Position",
"value": {
"cable_position": 15.5
}
}Response
Successful Response
Example response
{
"description": "Cable position set to specified value",
"name": "Position Set",
"value": {
"action": "REEL_SET_ENCODER_COUNT",
"error": false,
"error_msgs": [],
"result": {
"new_position": 15.5
}
}
}