javaclient.structures
Class PlayerSonarGeomT

java.lang.Object
  extended by javaclient.structures.PlayerSonarGeomT

public class PlayerSonarGeomT
extends java.lang.Object

To query the geometry of the sonar transducers, use this request, but only fill in the subtype. The server will reply with the other fields filled in.
(see the player_sonar_geom structure from player.h)

Version:
Author:
Maxim A. Batalin & Radu Bogdan Rusu

Constructor Summary
PlayerSonarGeomT()
           
 
Method Summary
 short getPoseCount()
           
 short[][] getPoses()
           
 void setPoseCount(short newposecount)
           
 void setPoses(short[][] newposes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerSonarGeomT

public PlayerSonarGeomT()
Method Detail

getPoseCount

public short getPoseCount()
Returns:
the number of valid poses

setPoseCount

public void setPoseCount(short newposecount)
Parameters:
newposecount - number of valid poses

getPoses

public short[][] getPoses()
Returns:
the pose of each sonar, in robot cs (mm, mm, degrees)

setPoses

public void setPoses(short[][] newposes)
Parameters:
newposes - pose of each sonar, in robot cs (mm, mm, degrees)