|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CompassListener
Class with declarations of callback methods for the compass sensor.
| Method Summary | |
|---|---|
void |
toLeft(SensorPort port,
double degrees)
Called when the compass reading points to a direction at the left half-plane of the trigger direction. |
void |
toRight(SensorPort port,
double degrees)
Called when the compass reading points to a direction at the right half-plane of the trigger direction. |
| Method Detail |
|---|
void toRight(SensorPort port,
double degrees)
port - the port where the sensor is plugged indegrees - the current compass direction
void toLeft(SensorPort port,
double degrees)
port - the port where the sensor is plugged indegrees - the current compass direction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||