got the encoder data to be sent to the unity