Пример #1
0
        void InitPositionPID()
        {
            PID_X     = new AsservissementPID(20.0, 10.0, 0, 100, 100, 1);
            PID_Y     = new AsservissementPID(20.0, 10.0, 0, 100, 100, 1);
            PID_Theta = new AsservissementPID(20.0, 10.0, 0, 5 * Math.PI, 5 * Math.PI, Math.PI);

            PidConfigUpdateTimer          = new System.Timers.Timer(1000);
            PidConfigUpdateTimer.Elapsed += PositionPidConfigUpdateTimer_Elapsed;
            PidConfigUpdateTimer.Start();
        }
 void InitPositionPID()
 {
     PID_Position_Lineaire  = new AsservissementPID(20.0, 10.0, 0, 100, 100, 1);
     PID_Position_Angulaire = new AsservissementPID(20.0, 10.0, 0, 5 * Math.PI, 5 * Math.PI, Math.PI);
 }