jp.digitalmuseum.mr.task
インタフェース LocationBasedTask
-
すべてのスーパーインタフェース:
-
EventProvider, MobileTask, java.lang.Runnable, java.io.Serializable, Service, Task
-
既知の実装クラスの一覧:
-
AvoidCollision, DrawPath, FillPath, FillPathLoosely, Follow, FollowVectorField, LocationBasedTaskAbstractImpl, Move, Push, Rotate, TracePath, TracePathLoosely, VectorFieldTask
-
public interface LocationBasedTask
- extends MobileTask
Task interface that defines methods for acquiring location information.
- 作成者:
- Jun KATO
インタフェース jp.digitalmuseum.mr.service.Service から継承されたメソッド |
dispose, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop |
インタフェース java.lang.Runnable から継承されたメソッド |
run |
setLocationProvider
void setLocationProvider(LocationProvider provider)
- Use the specified location provider.
getLocationProvider
LocationProvider getLocationProvider()
- 戻り値:
- Returns the related location provider.
getX
double getX()
- 戻り値:
- Returns x-coordinatae of the related robot.
getY
double getY()
- 戻り値:
- Returns y-coordinatae of the related robot.
getRotation
double getRotation()
- 戻り値:
- Returns direction of the related robot.
getPosition
Position getPosition()
- 戻り値:
- Returns position of the related robot.
- 関連項目:
Position
getPositionOut
void getPositionOut(Position position)
- 関連項目:
getPosition()
getLocation
Location getLocation()
- 戻り値:
- Returns location information of the related robot.
- 関連項目:
Location
getLocationOut
void getLocationOut(Location location)
- 関連項目:
getLocation()
Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/