|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object device.Device device.RobotDevice device.Ranger device.RangerSonar
public class RangerSonar
Field Summary | |
---|---|
protected javaclient3.SonarInterface |
soni
|
protected float[] |
sonRanges
|
Fields inherited from class device.Ranger |
---|
count, ranges |
Fields inherited from class device.RobotDevice |
---|
device, deviceNode, logger |
Fields inherited from class device.Device |
---|
deviceList, host, id, index, isRunning, isThreaded, port, sleeptime, thread |
Constructor Summary | |
---|---|
RangerSonar(DeviceNode roboClient,
Device device)
|
Method Summary | |
---|---|
double[] |
getRanges()
|
protected void |
update()
Will check for new ranges If not yet ready will put current thread to sleep |
Methods inherited from class device.Ranger |
---|
getCount |
Methods inherited from class device.RobotDevice |
---|
getDevice, getDeviceNode, getLogger, toString |
Methods inherited from class device.Device |
---|
equals, getDevice, getDeviceIterator, getDeviceList, getDeviceListArray, getHost, getId, getIndex, getPort, getSleepTime, getThreadName, isInList, isRunning, isSupported, isThreaded, matches, matchesList, run, runThreaded, setDeviceList, setHost, setName, setPort, setSleepTime, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javaclient3.SonarInterface soni
protected float[] sonRanges
Constructor Detail |
---|
public RangerSonar(DeviceNode roboClient, Device device)
Method Detail |
---|
protected void update()
Ranger
update
in class Ranger
public double[] getRanges()
getRanges
in class Ranger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |