Realtime Move
URL
/v1/bundle/{linkID}
Method
POST
Caution
edelkrone SDK does not support CORS, so when you send a request with "OPTIONS" method, edelkrone SDK return a error because of HTTP request of "Content-Type" is sent always as "text/plain" NOT "application/json".
Payload
{
"command":"realTimeMoveFixedDuration",
"duration": 0.033,
"{axis_name}": "{setpoint_value}"
}
Label | Type | Value | Description |
---|---|---|---|
command |
string |
realTimeMoveFixedDuration |
Command name |
duration |
float |
- | Motion duration in seconds |
axis_name |
string |
- | See table below |
setpoint_value |
float |
- | See table below |
Axis Name | Type | Unit | Value Range |
---|---|---|---|
headPan |
float |
degree | -36000.0 - +36000.0 |
headTilt |
float |
degree | -89.1 - +89.1 |
slide |
float |
centimeter | Depends on the slider type. |
focus |
float |
raw encoder | There is no limit if calibration is not done.After calibration, the limit is between two endpoints of your lens |
Note
See axis name convention chapter for details.
Caution
When sending a real time move command, you must specify all real time move supported axis values for the particular bundle. If you miss even one, this command returns an error.
Example JSON
{
"command": "realTimeMoveFixedDuration",
"headPan": 45.0,
"headTilt": -12.5,
"slide": 10.0,
"focus": 10430,
"duration": 0.033
}
Return value