First draft of sensor (A and B) data capturing logic implemented.