Packages

trait BaseMovementLib extends AnyRef

This trait contains the basic movement libraries for the MacroSwarm. It includes movements like standStill, brownian, maintainTrajectory, maintainUntil, obstacleAvoidance.

Self Type
MacroSwarmSupport.BaseMovementLib with E.StandardSensors with E.AggregateProgram with E.TimeUtils
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseMovementLib
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def brownian(scale: Double = 1.0): Point3D

    Brownian movement, i.e., random movement.

    Brownian movement, i.e., random movement.

    scale

    the scale of the movement, i.e., the multiplier of the random vector

    returns

    the random vector

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def maintainTrajectory(velocityGenerator: => Point3D)(time: FiniteDuration): Point3D

    Maintains a trajectory for a given time, then changes it.

    Maintains a trajectory for a given time, then changes it.

    velocityGenerator

    the generator of the velocity

    time

    the time after which the trajectory is changed

  13. def maintainUntil(velocity: Point3D)(condition: Boolean): Point3D

    Maintains a trajectory until a condition is met, then it became zero.

    Maintains a trajectory until a condition is met, then it became zero.

    velocity

    the velocity to maintain

    condition

    the condition to be met

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def obstacleAvoidance(obstacles: Seq[Point3D], minDistance: Double, distanceWeightNormalization: Double = 100): Point3D

    Avoids obstacles creating a repulsive force from them.

    Avoids obstacles creating a repulsive force from them.

    obstacles

    the obstacles to avoid expressed in term of the direction from the device

    minDistance

    the minimum distance from the obstacles

  18. def standStill(): Point3D

    No movement, i.e., stand still.

    No movement, i.e., stand still.

    returns

    the zero vector

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped