cz.cuni.amis.pogamut.usar2004.samples
Class P2DX
java.lang.Object
cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
cz.cuni.amis.pogamut.usar2004.samples.P2DX
- All Implemented Interfaces:
- IUSAR2004BotController
public class P2DX
- extends USAR2004BotController
P2DX robot not using logic controller.
- Author:
- vejmanm
Constructor Summary |
P2DX()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P2DX
public P2DX()
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.