|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.robotics.SimplePlatform
lejos.robotics.ExtendedPlatform
public class ExtendedPlatform
| Constructor Summary | |
|---|---|
ExtendedPlatform(TachoMotor directionMotor,
boolean invertDir,
double ratioDir,
TachoMotor elevationMotor,
boolean invertElev,
double ratioElev)
|
|
ExtendedPlatform(TachoMotor directionMotor,
boolean invertDir,
TachoMotor elevationMotor,
boolean invertElev)
|
|
ExtendedPlatform(TachoMotor directionMotor,
TachoMotor elevationMotor)
|
|
| 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(). |
| Methods inherited from class lejos.robotics.SimplePlatform |
|---|
getAbsoluteDirection, getDirection, getMaximumDirection, getMinimumDirection, getRotationSpeed, getXOffset, getYOffset, getZOffset, scanLeft, scanRight, setDirection, setMaximumDirection, setMinimumDirection, setRotationSpeed, setXOffset, setYOffset, setZOffset, stopRotation, zero |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedPlatform(TachoMotor directionMotor,
TachoMotor elevationMotor)
public ExtendedPlatform(TachoMotor directionMotor,
boolean invertDir,
TachoMotor elevationMotor,
boolean invertElev)
public ExtendedPlatform(TachoMotor directionMotor,
boolean invertDir,
double ratioDir,
TachoMotor elevationMotor,
boolean invertElev,
double ratioElev)
| Method Detail |
|---|
public int getElevation()
ElevationPlatform
getElevation in interface ElevationPlatformpublic int getMaximumElevation()
ElevationPlatform
getMaximumElevation in interface ElevationPlatformpublic int getMinimumElevation()
ElevationPlatform
getMinimumElevation in interface ElevationPlatformpublic int getElevationSpeed()
ElevationPlatform
getElevationSpeed in interface ElevationPlatformpublic void scanUp()
scanUp in interface ElevationPlatformpublic void scanDown()
scanDown in interface ElevationPlatformpublic void setElevation(int angle)
ElevationPlatform
setElevation in interface ElevationPlatformangle - getMaximumElevation() to getMinimumElevation() +90 to -90, or if platform is incapable of this movementpublic void setMaximumElevation(int maxAngle)
ElevationPlatform
setMaximumElevation in interface ElevationPlatformmaxAngle - Should be no greater than +90 degrees.public void setMinimumElevation(int minAngle)
ElevationPlatform
setMinimumElevation in interface ElevationPlatformminAngle - Should be no less than -90 degrees.public void setElevationSpeed(int speed)
ElevationPlatform
setElevationSpeed in interface ElevationPlatformpublic void stopElevation()
ElevationPlatform
stopElevation in interface ElevationPlatform
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||