public class WiiDar extends Service
Modifier and Type | Class and Description |
---|---|
static class |
WiiDar.Point |
class |
WiiDar.SweepMonolith |
Modifier and Type | Field and Description |
---|---|
Pin |
lastEncoderData |
Wii.IRData |
lastIRData |
static int |
LEFT |
static org.slf4j.Logger |
log |
static int |
RIGHT |
Servo |
servo |
static int |
UNKNOWN |
authProvider, defaultLocalization, dnaPool, fs, id, inbox, interfaceSet, isVirtual, lastError, lastErrorTs, lastStatus, lastStatusTs, locale, localization, methodSet, outbox, ps, ready, serviceClass, serviceType, serviceVersion, simpleName, statusBroadcastLimitMs, thisThread
Modifier and Type | Method and Description |
---|---|
double |
computeDepth(Wii.IRData ir) |
static ArrayList<WiiDar.Point> |
copy(ArrayList<WiiDar.Point> points) |
static void |
main(String[] args) |
Pin |
onPin(Pin pd) |
ArrayList<WiiDar.Point> |
publishArrayofPoints(ArrayList<WiiDar.Point> points) |
Wii.IRData |
publishIR(Wii.IRData ird) |
WiiDar.Point |
publishSinglePoint(WiiDar.Point point) |
ArrayList<WiiDar.Point> |
publishSweepData(ArrayList<WiiDar.Point> d) |
Boolean |
setCalibrating(Boolean t) |
Wii.IRData |
setIRLeftMax(Wii.IRData max) |
Wii.IRData |
setIRRightMax(Wii.IRData max) |
ArrayList<WiiDar.Point> |
setLeftCalibrated(ArrayList<WiiDar.Point> d) |
ArrayList<WiiDar.Point> |
setRightCalibrated(ArrayList<WiiDar.Point> d) |
Integer |
setServoLeftMax(Integer max) |
Integer |
setServoRightMax(Integer max) |
void |
startSweep() |
void |
stopService()
Stops the service.
|
void |
stopSweep() |
addListener, addListener, addListener, addListener, addTask, addTask, addTask, addTaskOneShot, attach, attach, broadcast, broadcast, broadcastState, broadcastStatus, buildDna, buildDna, buildDnaKeys, buildDnaNames, clearLastError, close, containsTask, copyResource, copyShallowFrom, createPeer, createPeer, createRootReserved, detach, detach, detach, echoHeartbeat, error, error, error, export, export, exportAll, exportAll, getAttached, getCountry, getDataDir, getDataDir, getDataInstanceDir, getDeclaredMethodNames, getDeclaredMethods, getDescription, getDisplayLanguage, getDna, getDnaString, getFile, getFullName, getHomeDir, getHostName, getId, getInbox, getInstanceId, getIntanceName, getInterfaceSet, getLanguage, getLastError, getLocale, getLocaleTag, getMessageSet, getMetaData, getMethodMap, getMethodNames, getMethods, getMethodToolTip, getMsg, getName, getNotifyList, getNotifyListKeySet, getOutbox, getPeer, getPeerKey, getPeerName, getResource, getResource, getResource, getResourceAsString, getResourceAsString, getResourceAsString, getResourceDir, getResourceDir, getResourceDir, getResourceDir, getResourceDirList, getResourceDirList, getResourceImage, getResourceRoot, getRootDataDir, getServiceIcon, getServiceIcon, getServiceIcon, getServiceScript, getServiceScript, getServiceScript, getSimpleName, getSwagger, getTasks, getThisThread, getType, hasError, hasInternet, hasPeers, hasSubscribed, help, in, info, info, invoke, invoke, invoke, invokeOn, invokeOn, invokePeer, invokePeer, isAttached, isAttached, isDev, isHeadless, isLocal, isReady, isRunning, isRuntime, isVirtual, load, load, loadAndStart, loadFromJson, loadFromJson, loadLocalizations, localize, localize, logTimeEnable, mergeDna, mergeDna, mergePeerDna, movePeerDna, out, out, preProcessHook, preRoutingHook, preShutdown, publishError, publishQueueStats, publishState, publishStats, publishStatus, purgeTask, purgeTasks, releasePeer, releasePeers, releaseService, removeAllListeners, removeListener, removeListener, requiresSecurity, reserve, reserve, reserveRoot, reserveRoot, reserveRootAs, run, save, save, save, send, send, send, sendBlocking, sendBlocking, sendBlocking, sendBlocking, sendPeer, sendToPeer, sendToPeer, setId, setInstanceId, setLocale, setName, setOrder, setPeer, setReady, setSecurityProvider, setState, setThisThread, setVirtual, sleep, sleep, stackToString, startPeer, startPeer, startPeers, startService, subscribe, subscribe, subscribe, subscribeTo, subscribeToRuntime, toString, unsubscribe, unsubscribe, unsubscribe, unsubscribeTo, unsubscribeToRuntime, updateStats, warn, warn
public static final org.slf4j.Logger log
public transient Servo servo
public static final int LEFT
public static final int RIGHT
public static final int UNKNOWN
public transient Wii.IRData lastIRData
public transient Pin lastEncoderData
public static final ArrayList<WiiDar.Point> copy(ArrayList<WiiDar.Point> points)
public static void main(String[] args)
public double computeDepth(Wii.IRData ir)
public ArrayList<WiiDar.Point> publishArrayofPoints(ArrayList<WiiDar.Point> points)
public Wii.IRData publishIR(Wii.IRData ird)
public WiiDar.Point publishSinglePoint(WiiDar.Point point)
public ArrayList<WiiDar.Point> publishSweepData(ArrayList<WiiDar.Point> d)
public Wii.IRData setIRLeftMax(Wii.IRData max)
public Wii.IRData setIRRightMax(Wii.IRData max)
public ArrayList<WiiDar.Point> setLeftCalibrated(ArrayList<WiiDar.Point> d)
public ArrayList<WiiDar.Point> setRightCalibrated(ArrayList<WiiDar.Point> d)
public void startSweep()
public void stopService()
Service
stopService
in interface ServiceInterface
stopService
in class Service
public void stopSweep()
Copyright © 2020 myrobotlab. All rights reserved.