javaclient.structures
Class PlayerLaserConfigT
java.lang.Object
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:
- 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 |
PlayerLaserConfigT
public PlayerLaserConfigT()
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