dLife Home Page

Package dlife.robot.gui.controlcenter

A graphical user interface (GUI) for interacting with the dLife supported robots.

See:
          Description

Class Summary
ControlCenter A graphical user interface (GUI) for interacting with the dLife supported robots.
 

Package dlife.robot.gui.controlcenter Description

A graphical user interface (GUI) for interacting with the dLife supported robots. The ControlCenter provides a uniform graphical environment for observing and controlling all of the robots that are supported by dLife.

Launching the ControlCenter:

After you have completed the basic dLife installation you can launch the ControlCenter by double clicking the dLifeDist/UserScripts/ControlCenter file (Mac/Linux) or the dLifeDist/UserScripts/ControlCenter.bat file (Windows).

When launched the ControlCenter will appear as shown below:

The main elements of the ControlCenter GUI are:

Interacting with a Robot in the ControlCenter:

To interact with a robot with the ControlCenter:

  1. Ensure that you have completed the basic dLife installation.
  2. Ensure that you have done any additional installation and setup necessary for your robot.
  3. Launch the ControlCenter (if it is not already running).
  4. Choose the type of robot that you would like to use from the "Robot:" drop down menu.
  5. Choose a controller for the robot by clicking on button next to the "Controller:" label.
  6. Click on the "Start Up" button at the bottom of the ControlCenter and provide the connection information for your robot. See the documentation for your robot type for more information about the connection information that is required.
  7. When finished, click on the "Shut Down" button a the bottom of the ControlCenter.

Controlling a Robot with Java:

To control a robot programmatically within the ControlCenter you will create a sub-class of the dlife.robot.Controller class. The class that you create will configure the Robot with Sensors and Effectors and issue commands to the robot to be carried out. See the Controller class documentation for a detailed discussion of how to create a Controller for use with the ControlCenter.

Using Simulated Robots:

In addition to controlling physical robots, as described above, the ControlCenter can also be used to control simulated robots running in the Player/Stage robot simulation system. dLife treats physical and simulated robots exactly the same. Thus, everything described above about interacting with robots applies equally well to interacting with robots simulated in Player/Stage. In general all that is necessary to use a simulated robot is to select the "Player" version of a robot (e.g. dlife.robot.hemisson.HemissonPlayer instead of dlife.robot.hemisson.Hemisson) See the dlife.robot.player package documentation for additional information about installing Player/Stage, using simulations and creating simulations.


dLife Home Page