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

メソッドの概要
 Location getLocation()
           
 void getLocationOut(Location location)
           
 LocationProvider getLocationProvider()
           
 Position getPosition()
           
 void getPositionOut(Position position)
           
 double getRotation()
           
 double getX()
           
 double getY()
           
 void setLocationProvider(LocationProvider provider)
          Use the specified location provider.
 
インタフェース jp.digitalmuseum.mr.task.MobileTask から継承されたメソッド
getRecommendedRotationSpeed, getRecommendedSpeed, getRotationSpeed, getSpeed, setRotationSpeed, setSpeed
 
インタフェース jp.digitalmuseum.mr.task.Task から継承されたメソッド
assign, getAssignedRobot, getRequirements, getSubflow, hasSubflow, isAssignable, isAssigned
 
インタフェース 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
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
メソッドの詳細

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/