sensor data is pulled in and averaged