javaclient.structures
Class PlayerBumperDefineT
java.lang.Object
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:
- v1.6.3 - Player 1.6.3 (all interfaces) supported
- v1.6.2 - Player 1.6.2 supported, Javadoc documentation, several bugfixes
- v1.5a - Player 1.5 supported (most popular devices)
- Author:
- Maxim A. Batalin & Radu Bogdan Rusu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerBumperDefineT
public PlayerBumperDefineT()
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