    function sendDisplacement(){
            var mtn_mod = '3' 
            var coord1 = data.pose[0] + (-1 * Math.round(joystick.deltaY() / 2))
            var coord2 = data.pose[1] + (-1 * Math.round(joystick.deltaX() / 2))
            var coord3 = data.pose[2]
            var coord4 = data.pose[3]
            var coord5 = data.pose[4]
            var coord6 = data.pose[5] 
            displacement.innerHTML  = ' dx: ' + (-1 * Math.round(joystick.deltaY() / 2)) + 'mm; dy: ' + (-1 * Math.round(joystick.del