class resample and sensor created