v1
reel-movement
Move to specific cable position
Commands the reel motor to move to a specific cable position using encoder feedback for precise positioning.
Go-to operations automatically determine the required direction (wind or unwind) based on current position and target position. The system uses encoder calibration data to convert position measurements to motor movements with high accuracy.
Requires a properly calibrated encoder system and is subject to all standard safeguards including maximum cable length and zero point protection. Optional speed parameter allows control over positioning velocity.
put/api/v1/reel/go-to-position
Request body
Example request
{
"description": "Move to specific position at default speed",
"name": "Standard Positioning",
"value": {
"target_position": 25
}
}Response
Successful Response
Example response
{
"description": "Moving to target by winding cable",
"name": "Go-To Wind Direction",
"value": {
"action": "GO_TO_POSITION",
"error": false,
"error_msgs": [],
"result": {
"current_position": 23.5,
"reel_direction": "WIND",
"target_position": 15
}
}
}