public void open_link(string link_uri) { this.state = State.INITIALIZED; this.link_uri = link_uri; link = crtp.RadioDriver.get_link_driver(link_uri); }
public void close_link() { if (this.link != null) { //this.commander.send_setpoint(0, 0, 0, 0); this.link.close(); this.link = null; } }
public Crazyflie(RadioDriver link = null) { this.state = State.DISCONNECTED; this.link = link; this.incomming = new _IncomingPacketHandler(this); this.incomming.start(); this.param = new Param(this); this.platform = new PlatformService(this); this.link_uri = ""; this.connected_ts = DateTime.MinValue; }