Panasonic AW-SF100/SF200 AW-SF100 API Documentation - Page 14

Camera State

Page 14 highlights

Auto Tracking System Web API Specifications Version 1.6 3.7 Camera State The Camera State command is used to acquire the automatic tracking process state of the camera managed by Tracking Control. The list of transmission parameters is as shown below. Name id Table 3.7-1 List of Transmission Parameters Usage Type Description Mandatory Integer value This is the camera ID. The reception response parameters are specified as below. id:[1],connection:[2],detection:[3],tracking:[4],lost:[5],angle:[6],preset:[7],angle_type:[8],target_p osition[9],target_position_area:[10] ,pan_tilt_limit:[11] The camera state information is saved in the below-mentioned format at the locations corresponding to the numbers enclosed within "[ ]". Note that when the camera ID is invalid, "nack", which indicates a negative acknowledgment, is saved, and the response parameter described above is not saved. No. 1 id Name 2 connection 3 detection 4 tracking 5 lost 6 angle 7 preset Table 3.7-2 List of Values Type Description Integer value Integer value Integer value Integer value Integer value Integer value Integer value This is the camera ID. Indicates the communication state with the camera. 0: No communication, or communication disruption 1: Communication in progress Indicates the detection state of the tracking target. 0: The tracking target is not detected 1: The tracking target is already detected Indicates the execution state of the tracking process. 0: The tracking process has stopped 1: The tracking process is being executed Indicates the existence of LOST detection for the tracking target. 0: LOST not detected 1: LOST detected Indicates the feasibility of executing the Angle command. 0: Angle request is possible 1: Angle request is not possible Indicates the feasibility of execution of the Preset command (playback) for Home, Preset 1, and Preset 2 by delimiting with a comma. 0: Cannot be executed 1: Can be executed Example: Can be executed only for Home: 1,0,0 Can be executed only for Preset 2: 0,0,1 Confidential © 2014-2015 Panasonic. All Rights Reserved. 14 of 24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

Auto Tracking System Web API Specifications
Version 1.6
Confidential
© 2014-2015 Panasonic. All Rights Reserved.
14 of 24
3.7
Camera State
The Camera State command is used to acquire the automatic tracking process state of the camera
managed by Tracking Control. The list of transmission parameters is as shown below.
Table 3.7-1 List of Transmission Parameters
Name
Usage
Type
Description
id
Mandatory
Integer value
This is the camera ID.
The reception response parameters are specified as below.
id:[1],connection:[2],detection:[3],tracking:[4],lost:[5],angle:[6],preset:[7],angle_type:[8],target_p
osition[9],target_position_area:[10] ,pan_tilt_limit:[11]
The camera state information is saved in the below-mentioned format at the locations corresponding to
the numbers enclosed within "[ ]". Note that when the camera ID is invalid, "nack", which indicates a
negative acknowledgment, is saved, and the response parameter described above is not saved.
Table 3.7-2 List of Values
No.
Name
Type
Description
1
id
Integer value
This is the camera ID.
2
connection
Integer value
Indicates the communication state with the camera.
0: No communication, or communication disruption
1: Communication in progress
3
detection
Integer value
Indicates the detection state of the tracking target.
0: The tracking target is not detected
1: The tracking target is already detected
4
tracking
Integer value
Indicates the execution state of the tracking process.
0: The tracking process has stopped
1: The tracking process is being executed
5
lost
Integer value
Indicates the existence of LOST detection for the
tracking target.
0: LOST not detected
1: LOST detected
6
angle
Integer value
Indicates the feasibility of executing the Angle command.
0: Angle request is possible
1: Angle request is not possible
7
preset
Integer value
Indicates the feasibility of execution of the Preset
command (playback) for Home, Preset 1, and Preset 2
by delimiting with a comma.
0: Cannot be executed
1: Can be executed
Example:
Can be executed only for Home: 1,0,0
Can be executed only for Preset 2: 0,0,1