examples.dlife.robot.player
Class BuildDlifePlayerSimulation

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

public class BuildDlifePlayerSimulation
extends Object

Example using the PlayerSimulation class to create a Player/Stage simulation for dLife. The simulation created has one Hemisson robot in an empty room. The Hemisson has a set of proximity sensors that have a small amount of Gaussian noise.

To run this example:

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

  3. Execute the following command:
  4. Choose a directory in the dialog that appears. The program will create a new sub-directory named HemiSampleSimulation in the chosen location that will contain the simulation files.
  5. Launch the dlife.robot.gui.controlcenter
  6. Select dlife.robot.hemisson.HemissonPlayer in the "Robot:" drop down list.
  7. Click the button next to the "Controller:" label.
  8. Navigate to the dLifeDist/examples/dlife/robot/hemisson/ directory.
  9. Choose the HemiWander.class file.
  10. Click the "Start Up" button.
  11. Click the "Browse" button in the dialog that appears.
  12. Navigate to the HemiSampleSimulation directory created above and choose the HemiSampleSimulation.dlp file.
  13. Click on the drop-down labeled "Select Robot..." and choose "7000:hemi1 - HemissonPlayer"
  14. Click "Connect"
  15. A Player/Stage simulation window should appear.
  16. Click "Run" in the ControlCenter.

The source code for this class is contained in the file:

Version:
Aug 6, 2010
Author:
Grant Braught, Dickinson College

Constructor Summary
BuildDlifePlayerSimulation()
           
 
Method Summary
static void main(String[] args)
          Builds and saves the dLife Player Simulation files for a simulation of a Hemisson with a proximity sensor in an empty room.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildDlifePlayerSimulation

public BuildDlifePlayerSimulation()
Method Detail

main

public static void main(String[] args)
Builds and saves the dLife Player Simulation files for a simulation of a Hemisson with a proximity sensor in an empty room.

Parameters:
args - none