examples.dlife.robot.player
Class PlayerMultipleRobots

java.lang.Object
  extended by examples.dlife.robot.player.PlayerMultipleRobots

public class PlayerMultipleRobots
extends Object

Example that creates, starts, and runs a Player/Stage simulation with 3 Hemisson and 3 Khepera3 robots. All of the robots are running obstacle avoidance controllers.

To run this example:

  1. Complete the Basic dLife Installation.
  2. Complete the Player/Stage Setup.

  3. Execute the following command:
  4. A Player/Stage simulation window should appear with 3 Hemissons and 3 Khepera 3 robots wandering around a collection of rooms and hallways.
  5. 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, Dickinson College

Constructor Summary
PlayerMultipleRobots()
           
 
Method Summary
static void main(String[] args)
          This will create and launch player with 3 Khepera3 robots and 3 Hemisson robots running obstacle avoidance Controllers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerMultipleRobots

public PlayerMultipleRobots()
Method Detail

main

public static void main(String[] args)
                 throws IOException
This will create and launch player with 3 Khepera3 robots and 3 Hemisson robots running obstacle avoidance Controllers. Typing 'q' in the terminal will terminate the simulation.

Parameters:
args - none
Throws:
IOException - thrown if there is a problem saving the player configuration files