Exemplo n.º 1
0
        public Interface()
        {
            InitializeComponent();

            this.comm = new RoverComm(Constants.RoverIP, Constants.RoverPort);  // Initialize the communication module

            MainForJoystick();
        }
Exemplo n.º 2
0
        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"));
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        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);
        }