public Interface() { InitializeComponent(); this.comm = new RoverComm(Constants.RoverIP, Constants.RoverPort); // Initialize the communication module MainForJoystick(); }
public VideoPanel(RoverComm commModule) { comm = commModule; InitializeComponent(); ///////////////////////////////////////////////// //_mjpeg = new MjpegDecoder(); // Initialize the Mjpeg decoder library //_mjpeg.FrameReady += mjpeg_FrameReady; // Set the event which will be triggered when frame is received //_mjpeg.ParseStream(new Uri("http://166.143.214.142:8080/stream?topic=/chatter")); }
static void Main(string[] args) { Console.WriteLine("Enter 5 msgs"); String[] s = new String[2]; for (int i = 0; i < s.Length; i++) { s[i] = Console.ReadLine(); } RoverComm p = new RoverComm("128.205.54.5", 5000); p.send(s); }