DifferentialWheelMotor

io.github.srs.model.entity.dynamicentity.actuator.DifferentialWheelMotor
See theDifferentialWheelMotor companion object

Actuator for differential wheel motors.

Type parameters

E

The type of dynamic entity this motor is associated with.

Attributes

Companion
object
Graph
Supertypes
trait Actuator[E]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def left: Wheel
def right: Wheel

Concrete methods

def applyMovementActions[F[_]](entity: E, dt: FiniteDuration, action: Action[F])(using evidence$1: Monad[F], a: ActionAlgebra[F, E], kin: Kinematics[E]): F[E]
Extension method from DifferentialWheelMotor

Applies a sequence of movement actions to a dynamic entity over a specified duration.

Applies a sequence of movement actions to a dynamic entity over a specified duration.

Attributes

def applyTo[F[_]](entity: E, dt: FiniteDuration)(using evidence$1: Monad[F], kin: Kinematics[E]): F[E]
Extension method from DifferentialWheelMotor

Ergonomic variant of act method to directly apply the motor's effect to a dynamic entity over a specified duration.

Ergonomic variant of act method to directly apply the motor's effect to a dynamic entity over a specified duration.

Attributes

Inherited and 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

Inherited from:
Actuator