Пример #1
0
        public FollowPathControl()
        {
            InitializeComponent();

            SwarmInterface = new FollowPath();

            Dictionary <String, MAVState> mavStates = new Dictionary <string, MAVState>();

            foreach (var port in MainV2.Comports)
            {
                foreach (var mav in port.MAVlist)
                {
                    mavStates.Add(port.BaseStream.PortName + " " + mav.sysid + " " + mav.compid, mav);
                }
            }

            bindingSource1.DataSource = mavStates;

            CMB_mavs.DataSource    = bindingSource1;
            CMB_mavs.ValueMember   = "Value";
            CMB_mavs.DisplayMember = "Key";

            MessageBox.Show("this is beta, use at own risk");

            MissionPlanner.Utilities.Tracking.AddPage(this.GetType().ToString(), this.Text);
        }
Пример #2
0
        public FollowPathControl()
        {
            InitializeComponent();

            SwarmInterface = new FollowPath();

            bindingSource1.DataSource = MainV2.Comports;

            CMB_mavs.DataSource = bindingSource1;

            MessageBox.Show("this is beta, use at own risk");
        }
Пример #3
0
        public FollowPathControl()
        {
            InitializeComponent();

            SwarmInterface = new FollowPath();

            bindingSource1.DataSource = MainV2.Comports;

            CMB_mavs.DataSource = bindingSource1;

            MessageBox.Show("this is beta, use at own risk");
        }
        public FollowPathControl()
        {
            InitializeComponent();

            SwarmInterface = new FollowPath();

            bindingSource1.DataSource = MainV2.Comports;

            CMB_mavs.DataSource = bindingSource1;

            MessageBox.Show("this is beta, use at own risk");

            MissionPlanner.Utilities.Tracking.AddPage(this.GetType().ToString(), this.Text);
        }
Пример #5
0
        public FollowPathControl()
        {
            InitializeComponent();

            SwarmInterface = new FollowPath();

            bindingSource1.DataSource = MainV2.Comports;

            CMB_mavs.DataSource = bindingSource1;

            MessageBox.Show("this is beta, use at own risk");

            MissionPlanner.Utilities.Tracking.AddPage(this.GetType().ToString(), this.Text);
        }