|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavaclient.structures.PlayerPosition2DGeomT
public class PlayerPosition2DGeomT
To request robot geometry, set the subtype to PLAYER_POSITION2D_GET_GEOM_REQ and leave the
other fields empty. The server will reply with the pose and size fields filled in.
(see the player_position2d_geom structure from player.h)
Constructor Summary | |
---|---|
PlayerPosition2DGeomT()
|
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 |
---|
public PlayerPosition2DGeomT()
Method Detail |
---|
public short[] getPose()
public void setPose(short[] newpose)
newpose
- pose of the robot base, in the robot cs (mm, mm, mrad)public short[] getSize()
public void setSize(short[] newsize)
newsize
- dimensions of the base (mm, mm)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |