Sensor

io.github.srs.model.entity.dynamicentity.sensor.Sensor
See theSensor companion trait
object Sensor

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sensor.type

Members list

Extensions

Extensions

extension (r: Robot)
def senseAll[F[_] : Monad](env: Environment): F[SensorReadings]

Senses all sensors of the robot in the given environment.

Senses all sensors of the robot in the given environment.

Value parameters

env

the environment in which to sense.

Attributes

Returns

a vector of sensor readings.