|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MotorListener
Declarations of notification methods.
Method Summary | |
---|---|
void |
motorStopped(int motorNb,
boolean isEnd)
Notification when the motor stops in RobMode. |
void |
stepChanged(int motorNb,
int step)
Notification when the step counter changes its value. |
Method Detail |
---|
void stepChanged(int motorNb, int step)
motorNb
- the motor number.step
- the current value of the step countervoid motorStopped(int motorNb, boolean isEnd)
motorNb
- the motor number.isEnd
- true, if the motor stopped because the end switch is pressed;
false, if it stopped because the step switch counter reaches zero
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |