moved sensor structs to platform.h