examples.dlife.robot.player
Class PlayerSimulationHemiWander
java.lang.Object
examples.dlife.robot.player.PlayerSimulationHemiWander
public class PlayerSimulationHemiWander
- extends Object
Example that creates, starts, and runs a Player/Stage simulation without
using the ControlCenter. A PlayerSimulation is created for a Hemisson with a
proximity sensor in an empty room. The Hemisson is controlled by the
HemiWander Controller (from examples.dlife.robot.hemisson).
To run this example:
- Complete the Basic dLife Installation.
- Complete the Player/Stage
Setup.
- Execute the following command from the dLifeDist directory:
java examples.dlife.robot.player.PlayerSimulationHemiWander
- A Player/Stage simulation window should appear and the Hemisson should
begin wandering around the empty room.
- Typing a 'q' followed by the enter key will terminate the simulation.
NOTE: The Player/Stage window will remain open and can be closed manually.
The source code for this class is contained in the file:
- Version:
- Febuary 18, 2010
- Author:
- Russell Toris, Grant Braught, Dickinson College
|
Method Summary |
static void |
main(String[] args)
This will create and launch the Player simulation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerSimulationHemiWander
public PlayerSimulationHemiWander()
main
public static void main(String[] args)
throws IOException,
InterruptedException
- This will create and launch the Player simulation. Pressing 'q' in the
terminal will terminate the simulation.
- Parameters:
args - none
- Throws:
IOException - thrown if there is a problem saving the player
configuration files
InterruptedException