model
SLAM.Inertial.SLAMCovariancePSD
Public declarations
Explicit source declarations; dimensions, modifications and defaults are shown as written, without evaluation.
| Role | Name | Type | Dimensions / attributes / default | Description |
|---|---|---|---|---|
| parameter | dimension | Integer | = 21 | |
| parameter | relativeTolerance | Real | = 1e-12 | |
| input | covariance | Real | [dimension,dimension] | |
| output | valid | Real | |
Modelica declarations and implementation
Show parameters, interfaces and source
Parameters, inputs, outputs, defaults and equations from the source file.
model SLAMCovariancePSD
import SLAMCovariancePSDCheck = SLAM.Inertial.SLAMCovariancePSDCheck;
parameter Integer dimension = 21;
parameter Real relativeTolerance = 1e-12;
input Real covariance[dimension,dimension];
output Real valid;
equation
valid = SLAMCovariancePSDCheck(covariance,relativeTolerance);
end SLAMCovariancePSD;