Home
last modified time | relevance | path

Searched refs:rotationMatrix (Results 1 – 3 of 3) sorted by relevance

/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DEcef2EnuConverter.java49 RealMatrix rotationMatrix = getRotationMatrix(refLat, refLng); in convertEcefToEnu() local
52 RealMatrix enuResult = rotationMatrix.multiply(ecefCoordinates); in convertEcefToEnu()
74 RealMatrix rotationMatrix = new Array2DRowRealMatrix(3, 3); in getRotationMatrix() local
77 rotationMatrix.setEntry(0, 0, -1 * Math.sin(refLng)); in getRotationMatrix()
78 rotationMatrix.setEntry(1, 0, -1 * Math.cos(refLng) * Math.sin(refLat)); in getRotationMatrix()
79 rotationMatrix.setEntry(2, 0, Math.cos(refLng) * Math.cos(refLat)); in getRotationMatrix()
80 rotationMatrix.setEntry(0, 1, Math.cos(refLng)); in getRotationMatrix()
81 rotationMatrix.setEntry(1, 1, -1 * Math.sin(refLat) * Math.sin(refLng)); in getRotationMatrix()
82 rotationMatrix.setEntry(2, 1, Math.cos(refLat) * Math.sin(refLng)); in getRotationMatrix()
83 rotationMatrix.setEntry(0, 2, 0); in getRotationMatrix()
[all …]
DEcefToTopocentricConverter.java46 RealMatrix rotationMatrix = in convertCartesianToTopocentericRadMeters() local
50 rotationMatrix.transpose().getData(), inputVectorMeters); in convertCartesianToTopocentericRadMeters()
DUserPositionVelocityWeightedLeastSquare.java358 RealMatrix rotationMatrix = new Array2DRowRealMatrix(4, 4); in calculatePositionVelocityUncertaintyEnu() local
361 rotationMatrix.setSubMatrix( in calculatePositionVelocityUncertaintyEnu()
364 rotationMatrix.setEntry(3, 3, 1); in calculatePositionVelocityUncertaintyEnu()
367 velocityH = rotationMatrix.multiply(velocityH).multiply(rotationMatrix.transpose()); in calculatePositionVelocityUncertaintyEnu()
368 positionH = rotationMatrix.multiply(positionH).multiply(rotationMatrix.transpose()); in calculatePositionVelocityUncertaintyEnu()