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
- 関連項目:
- 直列化された形式
クラス 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.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.mr.service.Service から継承されたメソッド |
dispose, getAliveTime, getConfigurationComponent, getInterval, getName, getServiceGroup, isDisposed, isPaused, isStarted, pause, resume, setInterval, setServiceGroup, start, start, stop |
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/