examples.dlife.robot.pioneer
Class PioneerDrone

java.lang.Object
  extended by dlife.robot.Controller
      extended by examples.dlife.robot.pioneer.PioneerDrone

public class PioneerDrone
extends Controller

A drone controller for the Pioneer. This Controller loads all of the sensors and effectors provided by the Pioneer base (plus bumpers and a gripper) and allows the robot to be controlled via the GUI.

To run this example:

  1. Complete the Basic dLife Installation.
  2. Complete the Pioneer Setup.
  3. Start the PioneerServer.

  4. Launch the dlife.robot.gui.controlcenter
  5. Select dlife.robot.pioneer.Pioneer in the "Robot:" drop down list.
  6. Click the button next to the "Controller:" label.
  7. Navigate to the dLifeDist/examples/dlife/robot/pioneer/ directory.
  8. Choose the PioneerDrone.class file.
  9. Click the "Start Up" button.
  10. Enter the IP and Port number for the PioneerServer in the dialog that appears.
  11. Click "Connect"
  12. GUI displays for all of the sensors and effectors will then appear in the ControlCenter.

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

Version:
Jun 18, 2008
Author:
Grant Braught, Dickinson College

Constructor Summary
PioneerDrone()
           
 
Method Summary
 void startUp(Robot robot)
          Create one instance of each type of Pioneer sensor and effector and add them to the robot.
 void step()
          This step method does not do anything.
 
Methods inherited from class dlife.robot.Controller
shutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PioneerDrone

public PioneerDrone()
Method Detail

startUp

public void startUp(Robot robot)
Create one instance of each type of Pioneer sensor and effector and add them to the robot.

Specified by:
startUp in class Controller
Parameters:
robot - the Robot that this Controller will be controlling.

step

public void step()
This step method does not do anything. The PioneerDrone can be controlled via the GUI controls.

Specified by:
step in class Controller