Sensor sampling library

Changes