examples.dlife.robot.pioneer
Class PioneerDrone
java.lang.Object
dlife.robot.Controller
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:
- Complete the Basic dLife Installation.
- Complete the Pioneer
Setup.
- Start
the PioneerServer.
- Launch the
dlife.robot.gui.controlcenter
- Select
dlife.robot.pioneer.Pioneer in the "Robot:" drop down
list.
- Click the button next to the "Controller:" label.
- Navigate to the
dLifeDist/examples/dlife/robot/pioneer/
directory.
- Choose the
PioneerDrone.class file.
- Click the "Start Up" button.
- Enter the IP and Port number for the PioneerServer in the dialog that
appears.
- Click "Connect"
- 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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PioneerDrone
public PioneerDrone()
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