javaclient.structures
Class PlayerPosition3DGeomT

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

public class PlayerPosition3DGeomT
extends java.lang.Object

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

Version:
Author:
Radu Bogdan Rusu

Constructor Summary
PlayerPosition3DGeomT()
           
 
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

PlayerPosition3DGeomT

public PlayerPosition3DGeomT()
Method Detail

getPose

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

setPose

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

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)