lejos.robotics
Interface ElevationPlatform

All Known Implementing Classes:
ExtendedPlatform

public interface ElevationPlatform


Method Summary
 int getElevation()
          Returns the current sensor elevation angle.
 int getElevationSpeed()
          Gets the speed the platform rotates, in degrees per second.
 int getMaximumElevation()
          Maximum angle the elevation can be raised.
 int getMinimumElevation()
          Minimum angle the elevation can be lowered to.
 void scanDown()
           
 void scanUp()
           
 void setElevation(int angle)
          Raises or lowers the sensor elevation.
 void setElevationSpeed(int speed)
          Sets the speed the platform should rotate, in degrees per second.
 void setMaximumElevation(int maxAngle)
          Sets the maximum angle the elevation can be raised.
 void setMinimumElevation(int minAngle)
          Sets the minimum angle the elevation can be raised.
 void stopElevation()
          Stops a scan in motion from scanUp() or scanDown().
 

Method Detail

setElevation

void setElevation(int angle)
Raises or lowers the sensor elevation.

Parameters:
angle - getMaximumElevation() to getMinimumElevation() +90 to -90, or if platform is incapable of this movement

getElevation

int getElevation()
Returns the current sensor elevation angle.

Returns:

getMaximumElevation

int getMaximumElevation()
Maximum angle the elevation can be raised. Should be no larger than 90 degrees.

Returns:

getMinimumElevation

int getMinimumElevation()
Minimum angle the elevation can be lowered to. Should be no less than -90 degrees.

Returns:

setMaximumElevation

void setMaximumElevation(int maxAngle)
Sets the maximum angle the elevation can be raised.

Parameters:
maxAngle - Should be no greater than +90 degrees.

setMinimumElevation

void setMinimumElevation(int minAngle)
Sets the minimum angle the elevation can be raised.

Parameters:
minAngle - Should be no less than -90 degrees.

setElevationSpeed

void setElevationSpeed(int speed)
Sets the speed the platform should rotate, in degrees per second. The default speed is XX degrees/second.

Parameters:
speed -

getElevationSpeed

int getElevationSpeed()
Gets the speed the platform rotates, in degrees per second. The default speed is XX degrees/second.

Returns:

scanUp

void scanUp()

scanDown

void scanDown()

stopElevation

void stopElevation()
Stops a scan in motion from scanUp() or scanDown().