First working version of plane sensor, currently missing support for some fields