ActuatorDsl

io.github.srs.model.entity.dynamicentity.actuator.dsl.ActuatorDsl
object ActuatorDsl

Provides a Domain-Specific Language (DSL) for working with actuators, including validation logic.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Validates the given actuator to ensure it meets the domain or type-specific constraints.

Validates the given actuator to ensure it meets the domain or type-specific constraints.

Value parameters

actuator

the actuator to validate, which may include various types such as DifferentialWheelMotor.

Attributes

Returns

a Right containing the actuator if it is valid, or a Left with a validation error if invalid.