javaclient.structures
Class PlayerSonarGeomT
java.lang.Object
javaclient.structures.PlayerSonarGeomT
public class PlayerSonarGeomT
- extends java.lang.Object
To query the geometry of the sonar transducers, use this request, but only fill in the subtype.
The server will reply with the other fields filled in.
(see the player_sonar_geom 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 |
PlayerSonarGeomT
public PlayerSonarGeomT()
getPoseCount
public short getPoseCount()
- Returns:
- the number of valid poses
setPoseCount
public void setPoseCount(short newposecount)
- Parameters:
newposecount
- number of valid poses
getPoses
public short[][] getPoses()
- Returns:
- the pose of each sonar, in robot cs (mm, mm, degrees)
setPoses
public void setPoses(short[][] newposes)
- Parameters:
newposes
- pose of each sonar, in robot cs (mm, mm, degrees)