Sensors and States

Robotics API Sensors can provide States, as illustrated by the following examples:

More complex Sensors can in many cases be split into simpler parts or merged to simpler Sensors which can then be used to create States. An example is VectorSensor#getLengthSensor(), which returns a DoubleSensor that measures the length of the Vectors measured by the VectorSensor.