@Deprecated public class MobilePlatform extends Service
Modifier and Type | Field and Description |
---|---|
long |
beginMotion
Deprecated.
|
java.lang.Float |
controlbackLagTime
Deprecated.
|
java.lang.Float |
currentTurnRate
Deprecated.
|
long |
endMotion
Deprecated.
|
java.lang.Float |
feedbackLagTime
Deprecated.
|
java.lang.Double |
headingCurrent
Deprecated.
|
java.lang.Double |
headingDelta
Deprecated.
|
java.lang.Double |
headingLast
Deprecated.
|
java.lang.Double |
headingTarget
Deprecated.
|
boolean |
inMotion
Deprecated.
|
static org.slf4j.Logger |
log
Deprecated.
|
java.lang.Float |
minPowerToStartLeft
Deprecated.
|
java.lang.Float |
minPowerToStartRight
Deprecated.
|
java.lang.Float |
MotorPowerToTurnRatioBoth
Deprecated.
|
java.lang.Float |
MotorPowerToTurnRatioLeft
Deprecated.
|
java.lang.Float |
MotorPowerToTurnRatioRight
Deprecated.
|
int |
positionX
Deprecated.
|
int |
positionY
Deprecated.
|
java.lang.Float |
speed
Deprecated.
|
int |
targetX
Deprecated.
|
int |
targetY
Deprecated.
|
long |
updateHeadingTime
Deprecated.
|
long |
updateHeadingTimeLast
Deprecated.
|
long |
updatePositionTime
Deprecated.
|
long |
updatePositionTimeLast
Deprecated.
|
cfgDir, dnaPool, MESSAGE_RECORDING_FORMAT_BINARY, MESSAGE_RECORDING_FORMAT_XML
Constructor and Description |
---|
MobilePlatform(java.lang.String n)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
attach(Motor left,
Motor right)
Deprecated.
|
void |
calibrate()
Deprecated.
|
MotorControl |
getLeftMotor()
Deprecated.
|
static ServiceType |
getMetaData()
Deprecated.
This static method returns all the details of the class without it having
to be constructed.
|
MotorControl |
getRightMotor()
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
void |
move(float power)
Deprecated.
|
void |
moveTo(float distance)
Deprecated.
|
MobilePlatform |
publishState(MobilePlatform t)
Deprecated.
|
void |
setHeading(double value)
Deprecated.
|
void |
setLeftMotor(Motor left)
Deprecated.
|
void |
setPosition(int x,
int y)
Deprecated.
|
void |
setRightMotor(Motor right)
Deprecated.
|
void |
setTargetHeading(double value)
Deprecated.
|
void |
setTargetPosition(int x,
int y)
Deprecated.
|
void |
spinLeft(float power)
Deprecated.
|
void |
spinRight(float power)
Deprecated.
|
void |
stop()
Deprecated.
|
void |
stopAndLock()
Deprecated.
|
double |
waitForHeadingChange()
Deprecated.
|
addListener, addListener, addTask, addTask, addTask, addTaskOneShot, allowDisplay, allowDisplay, attach, attach, broadcastState, buildDna, buildDna, buildDnaKeys, buildDnaNames, clearLastError, close, containsTask, copyShallowFrom, createPeer, createPeer, createRootReserved, detach, detach, detach, echoHeartbeat, error, error, error, getAttached, getCfgDir, getComm, getDeclaredMethodNames, getDeclaredMethods, getDescription, getDna, getDnaString, getHostName, getInbox, getInstanceId, getIntanceName, getInterfaceSet, getLastError, getMessageSet, getMetaData, getMethodMap, getMethodNames, getMethods, getMethodToolTip, getMsg, getName, getNotifyList, getNotifyListKeySet, getOutbox, getPeerKey, getPeerName, getServiceResourceFile, getSimpleName, getTasks, getThisThread, getType, hasError, hasPeers, help, help, in, info, info, invoke, invoke, invoke, invokeOn, isAttached, isAttached, isLocal, isReady, isRunning, isRuntime, isVirtual, load, load, logTimeEnable, mergeDna, mergeDna, mergePeerDna, movePeerDna, out, out, preProcessHook, preRoutingHook, publishError, publishQueueStats, publishState, publishStats, publishStatus, purgeTask, purgeTasks, releasePeers, releaseService, removeAllListeners, removeListener, requiresSecurity, reserve, reserve, reserveRoot, reserveRoot, reserveRootAs, run, save, save, save, send, send, send, send, sendBlocking, sendBlocking, sendBlocking, sendBlocking, sendPeer, setInstanceId, setName, setPeer, setSecurityProvider, setState, setThisThread, setVirtual, sleep, stackToString, startHeartbeat, startPeer, startPeer, startRecording, startService, stopHeartbeat, stopMsgRecording, stopService, subscribe, subscribe, subscribe, toString, unsubscribe, unsubscribe, unsubscribe, updateStats, warn, warn
public static final org.slf4j.Logger log
public int positionX
public int positionY
public int targetX
public int targetY
public java.lang.Double headingCurrent
public java.lang.Double headingTarget
public java.lang.Double headingLast
public java.lang.Double headingDelta
public java.lang.Float minPowerToStartRight
public java.lang.Float minPowerToStartLeft
public java.lang.Float MotorPowerToTurnRatioRight
public java.lang.Float MotorPowerToTurnRatioLeft
public java.lang.Float MotorPowerToTurnRatioBoth
public java.lang.Float currentTurnRate
public java.lang.Float feedbackLagTime
public java.lang.Float controlbackLagTime
public java.lang.Float speed
public long updateHeadingTime
public long updateHeadingTimeLast
public long updatePositionTime
public long updatePositionTimeLast
public long beginMotion
public long endMotion
public boolean inMotion
public void calibrate()
public MotorControl getLeftMotor()
public MotorControl getRightMotor()
public void move(float power)
public void moveTo(float distance)
public MobilePlatform publishState(MobilePlatform t)
public final void setHeading(double value)
public void setLeftMotor(Motor left)
public void setPosition(int x, int y)
public void setRightMotor(Motor right)
public void setTargetHeading(double value)
public void setTargetPosition(int x, int y)
public void spinLeft(float power)
public void spinRight(float power)
public void stop()
public void stopAndLock()
public final double waitForHeadingChange()
public static ServiceType getMetaData()
public static void main(java.lang.String[] args)