javaclient.structures
Class PlayerBumperDefineT

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

public class PlayerBumperDefineT
extends java.lang.Object

The geometry of a single bumper.
(see the player_bumper_define structure from player.h)

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

Constructor Summary
PlayerBumperDefineT()
           
 
Method Summary
 short getLength()
           
 short getRadius()
           
 short getThOffset()
           
 short getXOffset()
           
 short getYOffset()
           
 void setLength(short newLength)
           
 void setRadius(short newRadius)
           
 void setThOffset(short newThOffset)
           
 void setXOffset(short newXOffset)
           
 void setYOffset(short newYOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerBumperDefineT

public PlayerBumperDefineT()
Method Detail

getXOffset

public short getXOffset()
Returns:
the local pose of a single bumper in mm (X)

setXOffset

public void setXOffset(short newXOffset)
Parameters:
newXOffset - the local pose of a single bumper in mm (X)

getYOffset

public short getYOffset()
Returns:
the local pose of a single bumper in mm (Y)

setYOffset

public void setYOffset(short newYOffset)
Parameters:
newYOffset - the local pose of a single bumper in mm (Y)

getThOffset

public short getThOffset()
Returns:
the local pose of a single bumper in mm (Theta)

setThOffset

public void setThOffset(short newThOffset)
Parameters:
newThOffset - the local pose of a single bumper in mm (Theta)

getLength

public short getLength()
Returns:
length of the sensor in mm

setLength

public void setLength(short newLength)
Parameters:
newLength - length of the sensor in mm

getRadius

public short getRadius()
Returns:
radius of curvature in mm - zero for straight lines

setRadius

public void setRadius(short newRadius)
Parameters:
newRadius - radius of curvature in mm - zero for straight lines