added a pid structure along with new types to unify sensors into a single variable type