public class TLAgentEntity extends TLEntity
TLEntity.Adapter, TLEntity.Listener, TLEntity.State| Modifier and Type | Field and Description |
|---|---|
protected TLLocation |
botLocation
Location of agent during recording.
|
protected TLRotation |
botRotation
Rotation of agent during recording.
|
protected TLVelocity |
botVelocity
Velocity of agent during recording.
|
protected TLEntityUpdater |
updateWorker
Updater to pass info from introspection to
properties. |
database, storageFolder| Constructor and Description |
|---|
TLAgentEntity(TLDatabase db,
cz.cuni.amis.pogamut.unreal.bot.IUnrealBot agent)
Create a new
TLEntity that takes its data from the
unreal agent. |
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Finsih this entity, after calling this method, new data are not expected to appear.
|
cz.cuni.amis.pogamut.base.agent.IAgent |
getAgent() |
String |
getDisplayName() |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getLocation(long time)
Return location of bot.
|
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
getRotation(long time)
Return location of bot.
|
cz.cuni.amis.pogamut.base3d.worldview.object.Velocity |
getVelocity(long time)
Return location of bot.
|
void |
printFolders(PrintStream stream) |
void |
printTimelinedata() |
addListener, addLogRecording, getColor, getDatabase, getDoublePropertyValue, getEndTime, getFolder, getListeners, getLogRecorders, getStartTime, getState, printInfo, removeListener, setColor, setEndTimeprotected TLLocation botLocation
protected TLRotation botRotation
protected TLVelocity botVelocity
protected transient TLEntityUpdater updateWorker
properties.public TLAgentEntity(TLDatabase db, cz.cuni.amis.pogamut.unreal.bot.IUnrealBot agent)
TLEntity that takes its data from the
unreal agent.db - agent - public cz.cuni.amis.pogamut.base.agent.IAgent getAgent()
public String getDisplayName()
getDisplayName in class TLEntitypublic cz.cuni.amis.pogamut.base3d.worldview.object.Location getLocation(long time)
getLocation in class TLEntitypublic cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getRotation(long time)
getRotation in class TLEntitypublic cz.cuni.amis.pogamut.base3d.worldview.object.Velocity getVelocity(long time)
getVelocity in class TLEntitypublic void finish()
TLEntitypublic void printFolders(PrintStream stream)
public void printTimelinedata()
throws cz.cuni.amis.introspection.IntrospectionException
cz.cuni.amis.introspection.IntrospectionExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.