v1
cable-position
Add cable position offset
Adds a specified offset to the current cable encoder position.
This operation performs a relative adjustment to the current position reading by adding the specified offset value. Positive values increase the position reading, negative values decrease it.
put/api/v1/reel/encoder/add-cable-offset
Request body
Example request
{
"description": "Add 2.5 meters to current position",
"name": "Positive Offset",
"value": {
"offset_to_add_in_meters": 2.5
}
}Response
Successful Response
Example response
{
"description": "Cable offset added successfully",
"name": "Offset Added",
"value": {
"action": "REEL_ADD_ENCODER_OFFSET",
"error": false,
"error_msgs": [],
"result": {
"new_cable_length": 28.2,
"success": true
}
}
}