Actuator

io.github.srs.model.entity.dynamicentity.actuator.Actuator
trait Actuator[E <: DynamicEntity]

Represents an actuator for a dynamic entity.

Type parameters

E

the type of dynamic entity that the actuator can act upon.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def act[F[_]](dt: FiniteDuration, entity: E)(using evidence$1: Monad[F], kin: Kinematics[E]): F[E]

Apply the actuator effect for a given time delta.

Apply the actuator effect for a given time delta.

Value parameters

dt

the timestep for which the actuation is applied

entity

the entity being actuated

kin

typeclass providing pose-update semantics

Attributes