changed format of encoder data being sent to the unity application. This version works with encoder.