@@ -0,0 +1,899 @@
+import java.net.DatagramPacket;%0Aimport java.net.DatagramSocket;%0Aimport java.net.InetAddress;%0A%0Apublic class PIDTester %7B%0A  %0A%09public static void main(String%5B%5D args) %7B%0A%09%09int portNumber = 41234;%0A%09%09String message;%0A%09%09byte%5B%5D buf;%0A%09%09DatagramPacket packet;%0A%09%09%0A%09%09try %7B%0A%09%09%09DatagramSocket socket = new DatagramSocket(); %0A%09%09%09InetAddress serverIP = InetAddress.getByName(%22127.0.0.1%22);%0A%09%09%09%0A%09%09%09for(int i = 0; true; i++) %7B%0A%09%09%09%09message = %22%7B%5C%22S%5C%22:%22 + ((Math.sin(i) + 1) *50)%0A%09%09%09%09%09%09+ %22, %5C%22V%5C%22:%22 + ((Math.cos(i) + 1) * 50)%0A%09%09%09%09%09%09+ %22, %5C%22C%5C%22:%22 + Math.cos(i)%0A%09%09%09%09%09%09+ %22%7D%22;%0A%09%09%09%09%09%09%0A%09%09%09%09buf = message.getBytes();%0A%09%09%09%09packet = new DatagramPacket(buf, buf.length, %0A%09%09%09%09                                serverIP, portNumber);%0A%09%09%09%09socket.send(packet);%0A%09%09%09%09System.out.println(i + %22 sent %22 + message);%0A%09%09%09%09Thread.sleep(100);%0A%09%09%09%7D%0A%09%09%09%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09// TODO Auto-generated catch block%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09%0A%09%7D%0A%0A%7D%0A

Create Tester.java