examples.dlife.robot.hemisson
Class HemissonCameraDrone

java.lang.Object
  extended by dlife.robot.Controller
      extended by examples.dlife.robot.hemisson.HemissonCameraDrone

public class HemissonCameraDrone
extends Controller

A drone controller for a Hemisson with a camera. This drone allows the user to see and filter video images being streamed from the Hemisson via the dLife vision server (dlife.vision.server).

To run this example:

  1. Complete the Basic dLife Installation.
  2. Complete the Hemisson Setup.
  3. Ensure that the necessary configuration for using a Hemisson camera has been done.

  4. Launch the dlife.robot.gui.controlcenter
  5. Select dlife.robot.hemisson.Hemisson in the "Robot:" drop down list.
  6. Click the button next to the "Controller:" label.
  7. Navigate to the dLifeDist/examples/dlife/robot/hemisson/ directory.
  8. Choose the HemissonCameraDrone.class file.
  9. Click the "Start Up" button.
  10. Choose the connection mechanism to be used:
  11. Click "Connect"
  12. The Hemisson will beep and flash its lights to indicate that a connection has been established.
  13. Enter the information (Server IP/Port) of the dLife vision server in the dialog that appears.
  14. Click "Connect"
  15. Select the VideoSource parameters in the dialog that appears.
  16. Click "Connect"
  17. The GUI components for the Motion, Camera and Filters will appear in the ControlCenter.

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

Version:
Jun 30, 2007
Author:
Grant Braught, Dickinson College

Constructor Summary
HemissonCameraDrone()
           
 
Method Summary
 void startUp(Robot robot)
          Create a Camera and a DifferentialDrive 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

HemissonCameraDrone

public HemissonCameraDrone()
Method Detail

startUp

public void startUp(Robot robot)
Create a Camera and a DifferentialDrive 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 HemissonDrone can be controlled via the GUI controls.

Specified by:
step in class Controller