public class P2DXLogicController extends USAR2004BotLogicController
logicModulebot, user, USER_LOG_CATEGORY_ID| Constructor and Description |
|---|
P2DXLogicController() |
| Modifier and Type | Method and Description |
|---|---|
void |
initializeController(USAR2004Bot bot)
Called during the construction of the
UT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController#prepareBot(UT2004Bot) method. |
void |
logic()
this method is triggered by receipt of STA message.
|
static void |
main(String[] args) |
void |
prepareBot(USAR2004Bot bot)
Initialization of modules used within this robot.
|
void |
RangesReady(ArrayList<Double> Ranges)
Devides ranges into thirds and decides which way to set motor speeds.
|
void |
robotInitialized(NfoMessage nfom)
Method triggered after Game is initialized and STARTPOSES obtained.
|
beforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, logicInitialize, logicShutdowngetAct, getLog, getWorldViewpublic void robotInitialized(NfoMessage nfom)
robotInitialized in interface IUSAR2004BotControllerrobotInitialized in class USAR2004BotControllernfom - NfoMessge containing STARTPOSESpublic void initializeController(USAR2004Bot bot)
IUSAR2004BotControllerUT2004Bot before the GameBots2004 greets the bot even before
IUT2004BotController#prepareBot(UT2004Bot) method.
NOTE: This is Pogamut's developers reserved method - do not override it and if you do, always use 'super' to call parent's initializeController.
initializeController in interface IUSAR2004BotControllerinitializeController in class USAR2004BotLogicControllerpublic void prepareBot(USAR2004Bot bot)
prepareBot in interface IUSAR2004BotControllerprepareBot in class USAR2004BotControllerbot - Necessary parameter for hooking listeners and for sending
commandspublic void logic()
logic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogiclogic in class USAR2004BotLogicControllerpublic void RangesReady(ArrayList<Double> Ranges)
Ranges - list of ranges from Range scanner.public static void main(String[] args)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.