import libraries, define constants, initialize sensor objects