examples.dlife.robot.player
Class BuildDlifePlayerSimulation
java.lang.Object
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:
- Complete the Basic dLife Installation.
- Complete the Player/Stage
Setup.
- Execute the following command:
RunExample examples.dlife.robot.player.BuildPlayerSimulation
- 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.
- Launch the
dlife.robot.gui.controlcenter
- Select
dlife.robot.hemisson.HemissonPlayer in the "Robot:"
drop down list.
- Click the button next to the "Controller:" label.
- Navigate to the
dLifeDist/examples/dlife/robot/hemisson/
directory.
- Choose the
HemiWander.class file.
- Click the "Start Up" button.
- Click the "Browse" button in the dialog that appears.
- Navigate to the
HemiSampleSimulation directory created above
and choose the HemiSampleSimulation.dlp file.
- Click on the drop-down labeled "Select Robot..." and choose
"7000:hemi1 - HemissonPlayer"
- Click "Connect"
- A Player/Stage simulation window should appear.
- 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
|
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 |
BuildDlifePlayerSimulation
public BuildDlifePlayerSimulation()
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