예제 #1
0
 /// <summary>
 /// Connects the controller with the Link Interface.
 /// </summary>
 /// <param name="linkInterface"></param>
 public void Connect(LinkInterface linkInterface)
 {
     if (Tracing)
     {
         Trace.Script("Connected to '" + linkInterface.gameObject.name + "'", this);
     }
     Interface = linkInterface;
     Connect();
 }
예제 #2
0
 /// <summary>
 /// Connects the controller with the Link Interface.
 /// </summary>
 /// <param name="linkInterface"></param>
 public void Connect(LinkInterface linkInterface)
 {
     if (Tracing)
     {
         StratusDebug.Log("Connected to '" + linkInterface.gameObject.name + "'", this);
     }
     Interface = linkInterface;
     Connect();
 }
예제 #3
0
        public ConnectionStats(LinkInterface comPort)
            : this()
        {
            _mavlink = comPort;

            chk_mavlink2.Checked = _mavlink.MAV.mavlinkv2;

            chk_signing.Checked = _mavlink.MAV.signing;

            this.Load     += ConnectionStats_Load;
            this.Disposed += (sender, e) => StopUpdates();
        }
예제 #4
0
 public LinkTable()
 {
     verse   = new LinkInterface <T1, T2>(Plus);
     reverse = new LinkInterface <T2, T1>(Minus);
 }
예제 #5
0
 public MAVList(LinkInterface uavInterface)
 {
     parent = uavInterface;
     // add blank item
     hiddenlist.Add(0, new MAVState(parent, 0, 0));
 }