Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET http://IP-address:port/prefix/control/telemetry/position/TELEMETRYCONTROLID

Tip

TELEMETRYCONTROLID − template from − 지정된 비디오 소스에 대한 텔레메트리 장치 목록 가져오기.에서의 템플릿

요청 예시Sample request:

GET http://127.0.0.1:80/control/telemetry/position/Server1/DeviceIpint.25/TelemetryControl.0

Sample response응답 예시:

Code Block
{
  "pan": 2000
  ,"tilt": 5100
  ,"zoom": 0
  ,"mask": 7
} 

The mask value should be converted to binary.

The first bit of the binary number will refer to pan, the second to tilt, the third to zoom.

The 1 value means that the corresponding component of the video camera works, 0 means it does not work.

For example, if mask = 6, then in the binary system it is 110, which means that pan and tilt work on the camera, and zoom does not.

마스크 값은 이진수로 변환되어야 합니다.

이진수의 첫 번째 비트는 팬(pan)을, 두 번째 비트는 틸트(tilt)를, 세 번째 비트는 줌(zoom)을 나타냅니다.

값이 1이면 해당 비디오 카메라의 구성 요소가 작동함을 의미하고 0이면 작동하지 않음을 의미합니다.

예를 들어, mask = 6이면 이진수는 110으로 변환되며 이는 카메라에서 틸트는 작동하고 은 작동하지 않음을 의미합니다.

절대 텔레메트리 카메라의 경우, 좌표는 상대적일 것입니다For a camera with absolute telemetry, the coordinates will be relative.

Code Block
{
  "pan": 5.53611111111111109e-02,
  "tilt": 1.31111111111111116e-02,
  "zoom": 0.00000000000000000e+00,
  "mask": 7
}

...