public interface CompassListener
extends java.util.EventListener
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
void toRight(SensorPort port, double degrees)
port - the port where the sensor is plugged indegrees - the current compass directionvoid toLeft(SensorPort port, double degrees)
port - the port where the sensor is plugged indegrees - the current compass direction