kaos.robots.playerJavaClient
Class BlobfinderInterface

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

public class BlobfinderInterface
extends PlayerDevice


Field Summary
 int[] activeChannel
           
 ColorChannel[] channel
          Vision data
 
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
BlobfinderInterface(PlayerClient pc, short indexOfDevice)
           
 
Method Summary
 void colorConfig(short rmin, short rmax, short gmin, short gmax, short bmin, short bmax)
           
 ColorChannel getColorChannel(int i)
           
 ColorChannel[] getColorChannels()
           
 short getImageHeight()
           
 short getImageWidth()
           
 void imagerConfig(byte brightness, byte contrast, byte autoGain, byte colorMode)
           
 void readData()
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

channel

public ColorChannel[] channel
Vision data


activeChannel

public int[] activeChannel
Constructor Detail

BlobfinderInterface

public BlobfinderInterface(PlayerClient pc,
                           short indexOfDevice)
Method Detail

readData

public void readData()
Overrides:
readData in class PlayerDevice

colorConfig

public void colorConfig(short rmin,
                        short rmax,
                        short gmin,
                        short gmax,
                        short bmin,
                        short bmax)

imagerConfig

public void imagerConfig(byte brightness,
                         byte contrast,
                         byte autoGain,
                         byte colorMode)

getImageWidth

public short getImageWidth()

getImageHeight

public short getImageHeight()

getColorChannels

public ColorChannel[] getColorChannels()

getColorChannel

public ColorChannel getColorChannel(int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object