class

Robotics::SensoryMotor::ReactiveBehavior

Inherits Reference < Object

Reactive behavior: pairs a condition on sensor data with a motor response

Constructors

new(name : String, &condition : Array(SensorReading) -> Bool)

Instance methods

evaluate(readings : Array(SensorReading)) : MotorCommand | Nil
name
on_trigger