|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdlife.robot.Controller
examples.dlife.robot.ardrone.ARDroneUpDown
public class ARDroneUpDown
The ARDrone will will go up and down between 0.5 and 2 meters while displaying the view from its front camera.
To run this example:
dlife.robot.gui.controlcenter
dlife.robot.ardrone.ARDrone in the "Robot:" drop
down list.
dLifeDist/examples/dlife/robot/ardrone/
directory.
ARDroneUpDown.class file.
The source code for this class is contained in the file:
examples/dlife/robot/ardrone/ARDroneUpDown.java
| Constructor Summary | |
|---|---|
ARDroneUpDown()
|
|
| Method Summary | |
|---|---|
void |
shutDown()
This method is invoked when the Shut Down button in the ControlCenter is clicked. |
void |
startUp(Robot robot)
This method is invoked automatically when the Start Up button in the ContolCenter is clicked. |
void |
step()
Cause the drone to go up and down between 0.5 and 2 meters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ARDroneUpDown()
| Method Detail |
|---|
public void startUp(Robot robot)
dlife.robot.Controller
startUp in class Controllerrobot - the Robot that this Controller will be controlling.public void step()
step in class Controllerpublic void shutDown()
dlife.robot.Controller
shutDown in class Controller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||