z Pan Tilt and Zoom Control and Preset Position
To control the Pan, Tilt, and Zoom behavior of a Sony
camera, the following PTZ control URL is used.
Method: GET/POST
Syntax: control PTZ behavior
http://< servername >/cgi-bin/
control?< parameter >=< value >[&< parameter >=
< value >... ]
with the following meanings
<parameter>=<value>
Values
port=<int>
1, 2
camera=<int>
1 .. 4
hsrcamera=<int>
1..16
whoami=<string>
<any
value>
move=<string>
home
up,
down,
left,
right,
upleft,
upright,
downleft,
downright
pan=<float>
-180.0 - 180.0
tilt=<float>
-180.0 - 180.0
zoom=<int>
1 - 999
rpan=<float>
-360.0 - 360.0
rtilt=<float>
-360.0 - 360.0
rzoom=<float>
-999 - 999
rfocus=<float>
-999 - 999
Description
The COM port is selected with this
parameter. If omitted, the camera
parameters is used.
Selects the source camera. If
omitted, the default camera is used.
Selects the HSR camera if HSR is
used.
Returns the name of the configured
driver.
Moves the device to the home
position for Visca.
Moves the device to preset position
home1, home2, home3 or home4 for
Kalatel.
Moves the device approx. 5 degrees
in the specified direction for Visca.
Moves the device in the specified
direction for Kalatel.
Pans the device relative to the
centre position.
Not used for Kalatel.
Tilts the device relative to the
centre position.
Not used for Kalatel.
Zooms the device n steps relative to
the wide position.
Not used for Kalatel.
Pans the device relative to the
current position.
Tilts the device relative to the
current position.
Moves zoom. Positive values
means zoom in and negative values
means zoom out. Only used for
Kalatel.
Moves focus. Positive values means
focus near and negative values
means focus far. Only used for
Kalatel.
<parameter>=<value>
Values
riris=<float>
-999 - 999
focusrel=<string>
far,
farmore,
near,
nearmore
irisrel=<string>
open,
close,
openmore,
closemore
zoomrel=<string>
tele,
wide
auxiliary=<string>
<function
name>
setserverpresetname=
<preset
<string>
name>
gotoserverpresetname=
<preset
<string>
name>
speed=<int>
1 - 999
Example: Move camera 1 to home position
http://myserver/cgi-bin/
control?camera=1&move=home
Example: Move HSR camera 12 to a preset position
named 'door'
http://myserver/cgi-bin/
control?port=2&hsrcamera=12&gotopresetpos=door
Note: If "gotoserverpresetname=" is used in the
request, all the other parameters will be ignored except
"port=" and "camera=".
Description
Moves iris. Positive values means
iris open and negative values means
iris close. Only used for Kalatel.
Adjusts the focus gradually. Only
used for Kalatel.
Adjusts the iris gradually. Only
used for Kalatel.
Adjusts the zoom gradually.
Activates/deactivates auxiliary
functions of the device where
<function name> is the name of the
device specific function. Only used
for Kalatel.
Associates the current position to
<preset name> as a preset position
in the server.
Move to the position associated
with the <preset name>.
Sets the head speed of the device
connected to the specified camera.
Not used for Kalatel.
47