jp.digitalmuseum.mr.task
クラス VectorFieldTask

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.service.ServiceAbstractImpl
      上位を拡張 jp.digitalmuseum.mr.task.TaskAbstractImpl
          上位を拡張 jp.digitalmuseum.mr.task.MobileTaskAbstractImpl
              上位を拡張 jp.digitalmuseum.mr.task.LocationBasedTaskAbstractImpl
                  上位を拡張 jp.digitalmuseum.mr.task.VectorFieldTask
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Runnable, EventProvider, Service, LocationBasedTask, MobileTask, Task, VectorField
直系の既知のサブクラス:
AvoidCollision, DrawPath, Follow, FollowVectorField, Move, Push

public abstract class VectorFieldTask
extends LocationBasedTaskAbstractImpl
implements VectorField
Abstract task that only needs getVector(Position) method implemented by sub-classes to work.
作成者:
Jun KATO
関連項目:
直列化された形式

フィールドの概要
static double defaultAllowedDeviationAngle
           
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたフィールド
DEFAULT_INTERVAL
 
コンストラクタの概要
VectorFieldTask()
           
 
メソッドの概要
 void add(VectorField field)
           
 double getAllowedDeviationAngle()
           
 Vector2D getLastVector()
           
 void getLastVectorOut(Vector2D vector)
           
abstract  void getUniqueVectorOut(Position position, Vector2D vector)
           
 Vector2D getVector(Position position)
           
 void getVectorOut(Position position, Vector2D vector)
           
 boolean remove(VectorField field)
           
 void run()
           
 void setAllowedDeviationAngle(double allowedDeviationAngle)
           
 
クラス jp.digitalmuseum.mr.task.LocationBasedTaskAbstractImpl から継承されたメソッド
getLocation, getLocation, getLocationOut, getLocationOut, getLocationProvider, getPosition, getPosition, getPositionOut, getPositionOut, getRotation, getRotation, getX, getX, getY, getY, onStart, setLocationProvider
 
クラス jp.digitalmuseum.mr.task.MobileTaskAbstractImpl から継承されたメソッド
getRecommendedRotationSpeed, getRecommendedSpeed, getRequirements, getRotationSpeed, getSpeed, getWheels, onAssigned, onPause, setRotationSpeed, setSpeed
 
クラス jp.digitalmuseum.mr.task.TaskAbstractImpl から継承されたメソッド
assign, finish, getAssignedRobot, getName, getResourceMap, getSubflow, hasSubflow, initialize, isAssignable, isAssigned, requirementsSuppliable, setSubflow, start, stop
 
クラス jp.digitalmuseum.mr.service.ServiceAbstractImpl から継承されたメソッド
addEventListener, dispose, distributeEvent, getAliveTime, getConfigurationComponent, getInterval, getServiceGroup, isDisposed, isPaused, isStarted, onResume, onStop, pause, removeEventListener, resume, setInterval, setServiceGroup, start, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.digitalmuseum.utils.VectorField から継承されたメソッド
getName
 
インタフェース 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
 
インタフェース jp.digitalmuseum.mr.message.EventProvider から継承されたメソッド
addEventListener, removeEventListener
 
フィールドの詳細

defaultAllowedDeviationAngle

public static double defaultAllowedDeviationAngle
コンストラクタの詳細

VectorFieldTask

public VectorFieldTask()
メソッドの詳細

setAllowedDeviationAngle

public void setAllowedDeviationAngle(double allowedDeviationAngle)

getAllowedDeviationAngle

public double getAllowedDeviationAngle()

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run

add

public void add(VectorField field)

remove

public boolean remove(VectorField field)

getLastVector

public Vector2D getLastVector()

getLastVectorOut

public void getLastVectorOut(Vector2D vector)

getVector

public Vector2D getVector(Position position)
定義:
インタフェース VectorField 内の getVector
パラメータ:
position -
戻り値:
Returns a vector that specifies in which direction the assigned robot should go.

getVectorOut

public void getVectorOut(Position position,
                         Vector2D vector)
定義:
インタフェース VectorField 内の getVectorOut

getUniqueVectorOut

public abstract void getUniqueVectorOut(Position position,
                                        Vector2D vector)


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/