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

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

public class USAR2004TestBot
extends USAR2004BotController

Testing bot controller for spawning various robots and testing unknown sensors and info messages.

Author:
vejmanm

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
bot, log, user, USER_LOG_CATEGORY_ID
 
Constructor Summary
USAR2004TestBot()
           
 
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.
 void logic()
           
static void main(String[] args)
           
 void prepareBot(USAR2004Bot bot)
          Initialization of listeners.
 void RangesReady(ArrayList<Double> Ranges)
           
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
getAct, getLog, getWorldView, robotInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USAR2004TestBot

public USAR2004TestBot()
Method Detail

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 listeners.

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)

logic

public void logic()


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