#!/bin/bash -x
IP=192.168.95.111
IP=localhost
# test sending UDP packet (only in bash) in UDP Joystick format
# halfway up right side
echo -n "1996162515001500" >/dev/udp/$IP/4949
sleep 3
# top near center
echo -n "1596195515001500" >/dev/udp/$IP/4949
sleep 3
# joystick neutral position
echo -n "1500150015001500" >/dev/udp/$IP/4949
#
