kaos.robots.playerJavaClient
Class SonarPlayerDevice

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

public class SonarPlayerDevice
extends PlayerDevice


Field Summary
 short RANGE_COUNT
           
 
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
SonarPlayerDevice(PlayerClient pc, short indexOfDevice)
           
 
Method Summary
 int[] getRanges()
           
 int getSamplesCount()
           
 void handleResponce(int size)
           
 void queryGeometry()
           
 void readData()
           
 void setSonarPower(byte state)
           
 java.lang.String toString()
           
 
Methods inherited from class kaos.robots.playerJavaClient.PlayerDevice
getTimeForDataSampled_sec, getTimeForDataSampled_usec, getTimeForDataSampled, getTimeForDataSent_sec, getTimeForDataSent_usec, getTimeForDataSent, handleEARMessage, handleNARMessage, readHeader, readRequestedData, readyToRead, sendHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RANGE_COUNT

public final short RANGE_COUNT
See Also:
Constant Field Values
Constructor Detail

SonarPlayerDevice

public SonarPlayerDevice(PlayerClient pc,
                         short indexOfDevice)
Method Detail

readData

public void readData()
Overrides:
readData in class PlayerDevice

getRanges

public int[] getRanges()

getSamplesCount

public int getSamplesCount()

queryGeometry

public void queryGeometry()

setSonarPower

public void setSonarPower(byte state)

handleResponce

public void handleResponce(int size)
Overrides:
handleResponce in class PlayerDevice

toString

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