javaclient.structures
Class PlayerPositionGeomT

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

public class PlayerPositionGeomT
extends java.lang.Object

To request robot geometry, set the subtype to PLAYER_POSITION_GET_GEOM_REQ and leave the other fields empty. The server will reply with the pose and size fields filled in.
(see the player_position_geom structure from player.h)

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

Constructor Summary
PlayerPositionGeomT()
           
 
Method Summary
 short[] getPose()
           
 short[] getSize()
           
 void setPose(short[] newpose)
           
 void setSize(short[] newsize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerPositionGeomT

public PlayerPositionGeomT()
Method Detail

getPose

public short[] getPose()
Returns:
the pose of the robot base, in the robot cs (mm, mm, degrees)

setPose

public void setPose(short[] newpose)
Parameters:
newpose - pose of the robot base, in the robot cs (mm, mm, degrees)

getSize

public short[] getSize()
Returns:
the dimensions of the base (mm, mm)

setSize

public void setSize(short[] newsize)
Parameters:
newsize - dimensions of the base (mm, mm)