kaos.robots.playerJavaClient
Class PtzPlayerDevice

java.lang.Object
  extended by kaos.robots.playerJavaClient.PlayerDevice
      extended by kaos.robots.playerJavaClient.PtzPlayerDevice

public class PtzPlayerDevice
extends PlayerDevice


Field Summary
protected  short pan
           
protected  short panspeed
           
protected  short tilt
           
protected  short tiltspeed
           
protected  short zoom
           
 
Fields inherited from class kaos.robots.playerJavaClient.PlayerDevice
device, df, DIFFERENCE_SYNCH_FACTOR, index, is, os, pc, PLAYER_AIO_CODE, PLAYER_AUDIO_CODE, PLAYER_BLOBFINDER_CODE, PLAYER_BUMPER_CODE, PLAYER_COMMS_CODE, PLAYER_DESCARTES_CODE, PLAYER_DIO_CODE, PLAYER_FIDUCIAL_CODE, PLAYER_GPS_CODE, PLAYER_GRIPPER_CODE, PLAYER_IDAR_CODE, PLAYER_IDARTURRET_CODE, PLAYER_IR_CODE, PLAYER_LASER_CODE, PLAYER_LOCALIZE_CODE, PLAYER_MAX_REQREP_SIZE, PLAYER_MCOM_CODE, PLAYER_MOTE_CODE, PLAYER_PLAYER_CODE, PLAYER_POSITION_CODE, PLAYER_POWER_CODE, PLAYER_PTZ_CODE, PLAYER_SONAR_CODE, PLAYER_SPEECH_CODE, PLAYER_TRUTH_CODE, PLAYER_WAVEFORM_CODE, PLAYER_WIFI_CODE, reserved, size, t_sec, t_usec, ts_sec, ts_usec
 
Constructor Summary
PtzPlayerDevice(PlayerClient pc, short indexOfDevice)
           
 
Method Summary
 short getPan()
           
 short getPanSpeed()
           
 short getTilt()
           
 short getTiltSpeed()
           
 short getZoom()
           
 void readData()
           
 void setPTZ(short pan, short tilt, short zoom, short panspeed, short tiltspeed)
           
 
Methods inherited from class kaos.robots.playerJavaClient.PlayerDevice
getTimeForDataSampled_sec, getTimeForDataSampled_usec, getTimeForDataSampled, getTimeForDataSent_sec, getTimeForDataSent_usec, getTimeForDataSent, handleEARMessage, handleNARMessage, handleResponce, readHeader, readRequestedData, readyToRead, sendHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pan

protected short pan

tilt

protected short tilt

zoom

protected short zoom

panspeed

protected short panspeed

tiltspeed

protected short tiltspeed
Constructor Detail

PtzPlayerDevice

public PtzPlayerDevice(PlayerClient pc,
                       short indexOfDevice)
Method Detail

readData

public void readData()
Overrides:
readData in class PlayerDevice

setPTZ

public void setPTZ(short pan,
                   short tilt,
                   short zoom,
                   short panspeed,
                   short tiltspeed)

getPan

public short getPan()

getTilt

public short getTilt()

getZoom

public short getZoom()

getTiltSpeed

public short getTiltSpeed()

getPanSpeed

public short getPanSpeed()