Exemple #1
0
        public Servo2(Motor motor, int zero, bool debug = false)
        {
            _angleHistory = new RecentBuffer(5);

            this.Motor = motor;
            _zero      = zero;
            _debug     = debug;
        }
Exemple #2
0
        public Servo3(Motor motor, int zero, bool debug = false)
        {
            _recentBuffer = new RecentBuffer(5);
            _ema          = new Ema(10);

            this.Motor = motor;
            _zero      = zero;
            _debug     = debug;
        }