Exemplo n.º 1
0
        public Param(Crazyflie crazyflie)
        {
            toc = new Toc();

            cf            = crazyflie;
            _useV2        = false;
            param_updater = new _ParamUpdater(cf, _useV2, null);

            is_updated = false;
        }
Exemplo n.º 2
0
 public TocFetcher(Crazyflie crazyflie, object element_class, byte port, Toc toc_holder, Action finished_callback, int toc_cache)
 {
     this.cf                = crazyflie;
     this.port              = port;
     this._crc              = 0;
     this.requested_index   = null;
     this.nbr_of_items      = null;
     this.state             = TOC_STATE.IDLE;
     this.toc               = toc_holder;
     this._toc_cache        = toc_cache;
     this.finished_callback = finished_callback;
     this.element_class     = element_class;
     this._useV2            = false;
 }