commented debug output out
changed nr of samples to 360
small change in publishing encoder data