|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BasicPilot
| Method Summary | |
|---|---|
void |
backward()
Starts the NXT robot moving backwards. |
void |
forward()
Starts the NXT robot moving forward. |
float |
getMoveMaxSpeed()
|
float |
getMovementIncrement()
|
float |
getMoveSpeed()
|
boolean |
isMoving()
true if the robot is moving |
void |
setMoveSpeed(float speed)
|
Movement |
stop()
Halts the NXT robot |
Movement |
travel(float distance)
Moves the NXT robot a specific distance. |
Movement |
travel(float distance,
boolean immediateReturn)
Moves the NXT robot a specific distance. |
| Methods inherited from interface lejos.robotics.MovementProvider |
|---|
addMoveListener, getMovement |
| Method Detail |
|---|
void forward()
void backward()
Movement stop()
boolean isMoving()
Movement travel(float distance)
distance - The positive or negative distance to move the robot.
Movement travel(float distance,
boolean immediateReturn)
distance - The positive or negative distance to move the robot, in wheel diameter units.immediateReturn - If immediateReturn is true then the method returns immediately.float getMovementIncrement()
void setMoveSpeed(float speed)
float getMoveSpeed()
float getMoveMaxSpeed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||