Camera_interface

This application is an interface to the Sony EVI-D31 pan/tilt camera.  This camera is possible to control with a set of VISCA commands, see http://www.sfc.wide.ad.jp/sony/EVID30/doc/index.html.
When staring the camera_interface application it creates an actor for the camera and gives it a new set of tcl-commands, see below. The application also connects to a serial port on the computer to communicate with the EVI-D31.
 

The camera_interface application takes the following paramenters      
-serial the serial port to which the EVI-D31 is connected. Default value is /dev/ttyd2.
-camera_obj the .vr-file that describes the camera actor. Default is sony_camera.vr. 
-actor  if this parameter is given the application look for the specified actor and if it finds it it looks for a subobject called 'tool_belt'. If it is found the camera object will be attached to the 'tool_belt'.
The default camera object 'sony_camera.vr' can open up a window with some of the functionality that the remote control has. This window is accessed by clicking on the object in DIVE.


Tcl-commands

All of these tcl-commands interface to the same functions that are accessible through the remotecontrol that comes with the EVI-D31. For a full description of each functionality see the Operating Intructions book that comes with the camera.
 

camera_cmd

Synopsis

Arguments

Description

There are several commands for the camera with similar inputs, they are accessed by camera_cmd. The commands are:
home                          Moves the camera head to home position. Takes no value.
reset                         Resets the camera head position. Takes no value.
start_stop                    Start or stops autotracking. Takes no value.

datascreen on/off/toggle      Turns on or off the datascreen.
frame_display on/off/toggle   Turns on or off the frame.

at_mode on/off/toggle         Turns on or off autotracking mode.
at_ae on/off/toggle           Turns on or off the auto back lightning function.
at_autozoom on/off/toggle     Turns on or off the auto zoom.
at_chase 1/2/3/toggle         Select chase mode.
at_entry 1/2/3/4/toggle       Selects entry mode.

Example

The following example moves the camera head to the home position.

camera_cmd home



 

camera_left

camera_right

camera_up

camera_down

camera_stop

camera_zoomtele

camera_zoomwide

camera_zoomstop

Implements the pan-tilt move buttons and zoom.

Synopsis

Arguments

Description

camera_left      Starts to move camera head to the left.
camera_right     Starts to move camera head to the right.
camera_up        Starts to move camera head up.
camera_down      Starts to move camera head down.
camera_stop      Stops head from moving.
camera_zoomtele  Starts to zoom in.
camera_zoomwide  Starts to zoom out.
camera_zoomstop    Stops zooming.

Example

The following example starts to move the head up.

camera_up