コード例 #1
0
 public KalmanFilter(
     Position3D initialObservation,
     Distance deviceError,
     DilutionOfPrecision horizontalDOP,
     DilutionOfPrecision verticalDOP,
     Ellipsoid ellipsoid)
 {
     this._currentState = new KalmanSystemState(
         initialObservation,
         deviceError,
         horizontalDOP,
         verticalDOP,
         ellipsoid);
 }
コード例 #2
0
 public void Initialize(Position gpsPosition, Distance deviceError, DilutionOfPrecision horizontalDOP, DilutionOfPrecision verticalDOP, Ellipsoid ellipsoid)
 {
     _currentState = new KalmanSystemState(new Position3D(gpsPosition), deviceError, horizontalDOP, verticalDOP, ellipsoid);
 }
コード例 #3
0
 public void Initialize(Position gpsPosition, Distance deviceError, DilutionOfPrecision horizontalDOP, DilutionOfPrecision verticalDOP, Ellipsoid ellipsoid)
 {
     _currentState = new KalmanSystemState(new Position3D(gpsPosition), deviceError, horizontalDOP, verticalDOP, ellipsoid);
 }
コード例 #4
0
        public void Initialize(Position3D gpsPosition, Distance deviceError, DilutionOfPrecision horizontalDOP, DilutionOfPrecision verticalDOP, Ellipsoid ellipsoid)
        {
            double fail = horizontalDOP.Value * verticalDOP.Value * deviceError.Value;
            if (fail == 0 || double.IsNaN(fail) || double.IsInfinity(fail))
            {
                throw new ArgumentException(
                    "Parameters deviceError, horizontalDOP and verticalDOP must be greater than zero.");
            }

            _currentState = new KalmanSystemState(gpsPosition, deviceError, horizontalDOP, verticalDOP, ellipsoid);
        }
コード例 #5
0
 public KalmanFilter(
     Position3D initialObservation, 
     Distance deviceError, 
     DilutionOfPrecision horizontalDOP, 
     DilutionOfPrecision verticalDOP,
     Ellipsoid ellipsoid)
 {
     this._currentState = new KalmanSystemState(
         initialObservation, 
         deviceError, 
         horizontalDOP, 
         verticalDOP,
         ellipsoid);
 }