double YFromJoystick(VirtualJoystick vj)
        {
            double y = Math.Cos(DegToRad(vj.Angle)) * vj.Distance;

            return(y);
        }
        double XFromJoystick(VirtualJoystick vj)
        {
            double x = Math.Sin(DegToRad(vj.Angle)) * vj.Distance;

            return(x);
        }