examples.dlife.robot.khepera3
Class Khepera3Drone
java.lang.Object
dlife.robot.Controller
examples.dlife.robot.khepera3.Khepera3Drone
public class Khepera3Drone
- extends Controller
A drone controller for the Khepera 3. This Controller loads all of the
sensors and effectors provided by the Khepera 3 base and allows the robot to
be controlled via the GUI.
To run this example:
- Complete the Basic dLife Installation.
- Complete the Khepera 3
Setup.
- Launch the
dlife.robot.gui.controlcenter
- Select
dlife.robot.khepera3.Khepera3 in the "Robot:" drop
down list.
- Click the button next to the "Controller:" label.
- Navigate to the
dLifeDist/examples/dlife/robot/khepera3/
directory.
- Choose the
Khepera3Drone.class file.
- Click the "Start Up" button.
- Enter the IP and Port number for the Khepera 3 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:
- August 27, 2009
- Author:
- Russell Toris, Dickinson College
|
Method Summary |
void |
startUp(Robot robot)
Creates a Khepera 3 with all the sensors/effectors |
void |
step()
Unused for this class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Khepera3Drone
public Khepera3Drone()
startUp
public void startUp(Robot robot)
- Creates a Khepera 3 with all the sensors/effectors
- Specified by:
startUp in class Controller
- Parameters:
robot - the Khepera 3
step
public void step()
- Unused for this class
- Specified by:
step in class Controller