public abstract class BasePlatform extends GamsJNI implements PlatformInterface
| Modifier and Type | Field and Description |
|---|---|
ai.madara.knowledge.KnowledgeBase |
knowledge
The controller's current knowledge base
|
Self |
self
Self-identifying variables like id and device properties
|
PlatformStatus |
status
The status of the platform
|
| Constructor and Description |
|---|
BasePlatform() |
| Modifier and Type | Method and Description |
|---|---|
void |
assume(long cptr)
Facade for the protected setCPtr method in GamsJNI
|
void |
init(BaseController controller)
Initialize the platform with controller variables.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitanalyze, getAccuracy, getId, getMinSensorRange, getMoveSpeed, getName, getPosition, getPositionAccuracy, home, land, move, rotate, sense, setMoveSpeed, stopMove, takeoffpublic ai.madara.knowledge.KnowledgeBase knowledge
public Self self
public PlatformStatus status
public void init(BaseController controller) throws GamsDeadObjectException
controller - the controller that will be running the platform loopGamsDeadObjectExceptionpublic void assume(long cptr)
throws GamsDeadObjectException
cptr - the C pointer for the underlying classGamsDeadObjectExceptionCopyright © 2018. All rights reserved.