cz.cuni.amis.pogamut.usar2004.samples
Class P2DX

Package class diagram package P2DX
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
      extended by cz.cuni.amis.pogamut.usar2004.samples.P2DX
All Implemented Interfaces:
IUSAR2004BotController

public class P2DX
extends USAR2004BotController

P2DX robot not using logic controller.

Author:
vejmanm

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
bot, user, USER_LOG_CATEGORY_ID
 
Constructor Summary
P2DX()
           
 
Method Summary
 void initializeController(USAR2004Bot bot)
          Called during the construction of the UT2004Bot before the GameBots2004 greets the bot even before IUT2004BotController#prepareBot(UT2004Bot) method.
static void main(String[] args)
           
 void prepareBot(USAR2004Bot bot)
          Initialization of modules used within this robot.
 void RangesReady(ArrayList<Double> Ranges)
           
 void robotInitialized(NfoMessage nfom)
          Method triggered after Game is initialized and STARTPOSES obtained.
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
getAct, getLog, getWorldView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P2DX

public P2DX()
Method Detail

robotInitialized

public void robotInitialized(NfoMessage nfom)
Method triggered after Game is initialized and STARTPOSES obtained. Tt will spawn the robot into the environment.

Specified by:
robotInitialized in interface IUSAR2004BotController
Overrides:
robotInitialized in class USAR2004BotController
Parameters:
nfom - NfoMessge containing STARTPOSES

initializeController

public void initializeController(USAR2004Bot bot)
Description copied from interface: IUSAR2004BotController
Called during the construction of the UT2004Bot 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.

Specified by:
initializeController in interface IUSAR2004BotController
Overrides:
initializeController in class USAR2004BotController

prepareBot

public void prepareBot(USAR2004Bot bot)
Initialization of modules used within this robot.

Specified by:
prepareBot in interface IUSAR2004BotController
Overrides:
prepareBot in class USAR2004BotController
Parameters:
bot - Necessary parameter for hooking listeners and for sending commands

RangesReady

public void RangesReady(ArrayList<Double> Ranges)

main

public static void main(String[] args)


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.