kaos.robots.playerJavaClient
Class TruthPlayerDevice

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

public class TruthPlayerDevice
extends PlayerDevice


Field Summary
 
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
TruthPlayerDevice(PlayerClient pc, short indexOfDevice)
           
 
Method Summary
 int getHeading()
           
 int getX()
           
 int getY()
           
 void handleResponce(int size)
           
 boolean isTeleported()
           
 void readData()
           
 void teleport(int x, int y)
           
 void teleport(int x, int y, int heading)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

TruthPlayerDevice

public TruthPlayerDevice(PlayerClient pc,
                         short indexOfDevice)
Method Detail

readData

public void readData()
Overrides:
readData in class PlayerDevice

getX

public int getX()

getY

public int getY()

getHeading

public int getHeading()

teleport

public void teleport(int x,
                     int y)

teleport

public void teleport(int x,
                     int y,
                     int heading)

isTeleported

public boolean isTeleported()

handleResponce

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