javaclient.structures
Class PlayerLaserConfigT

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

public class PlayerLaserConfigT
extends java.lang.Object

The scan configuration (resolution, aperture, etc) can be queried using the PLAYER_LASER_GET_CONFIG request and modified using the PLAYER_LASER_SET_CONFIG request. Read the documentation for your driver to determine what configuration values are permissible.
(see the player_laser_config structure from player.h)

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

Constructor Summary
PlayerLaserConfigT()
           
 
Method Summary
 byte getIntensity()
           
 short getMaxAngle()
           
 short getMinAngle()
           
 int getRangeRes()
           
 int getResolution()
           
 void setIntensity(byte newintensity)
           
 void setMaxAngle(short newmaxangle)
           
 void setMinAngle(short newminangle)
           
 void setRangeRes(int newrangeres)
           
 void setResolution(int newresolution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerLaserConfigT

public PlayerLaserConfigT()
Method Detail

getMinAngle

public short getMinAngle()
Returns:
the start angle

setMinAngle

public void setMinAngle(short newminangle)
Parameters:
newminangle - start angle (0.01 degrees). Valid range is -9000 to +9000

getMaxAngle

public short getMaxAngle()
Returns:
the end angle

setMaxAngle

public void setMaxAngle(short newmaxangle)
Parameters:
newmaxangle - end angle (0.01 degrees). Valid range is -9000 to +9000

getResolution

public int getResolution()
Returns:
the scan resolution

setResolution

public void setResolution(int newresolution)
Parameters:
newresolution - scan resolution (0.01 degrees). Valid resolutions are 25, 50, 100

getRangeRes

public int getRangeRes()
Returns:
the range resolution

setRangeRes

public void setRangeRes(int newrangeres)
Parameters:
newrangeres - range resolution. Valid: 1, 10, 100 (For mm, cm, dm)

getIntensity

public byte getIntensity()
Returns:
whether the reflection intensity data is disabled or enabled (0/1)

setIntensity

public void setIntensity(byte newintensity)
Parameters:
newintensity - enable reflection intensity data