/// <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(); }
/// <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(); }
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(); }
public LinkTable() { verse = new LinkInterface <T1, T2>(Plus); reverse = new LinkInterface <T2, T1>(Minus); }
public MAVList(LinkInterface uavInterface) { parent = uavInterface; // add blank item hiddenlist.Add(0, new MAVState(parent, 0, 0)); }