Robotics::SensoryMotor::SensoryMotorSystem
Inherits Reference < Object
Coordinates sensors and actuators for a robot agent
Constructors
new(drive : DifferentialDrive)
Instance methods
add_behavior(behavior : ReactiveBehavior)
add_sensor(sensor : RangeSensor)
behaviors
drive
sensors
tick(distances : Hash(String, Float64), dt : Float64 = 0.1) : MotorCommand
Process one control cycle: gather readings, select behavior, apply command