Home
last modified time | relevance | path

Searched refs:sensorAlgorithm (Results 1 – 2 of 2) sorted by relevance

/base/sensors/sensor/interfaces/native/test/unittest/
Dsensor_algorithm_test.cpp50 SensorAlgorithm sensorAlgorithm; variable
57 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion);
71 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion);
80 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion);
89 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix);
104 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix);
113 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, -1, outRotationMatrix…
122 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, -1, 1, outRotationMatrix…
129 int32_t ret = sensorAlgorithm.GetAltitude(5.0, 0.0, &altitude);
136 int32_t ret = sensorAlgorithm.GetAltitude(5.0, 0.0, nullptr);
[all …]
/base/sensors/sensor/interfaces/plugin/src/
Dsensor_js.cpp583 SensorAlgorithm sensorAlgorithm; in TransformCoordinateSystem() local
584 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationVector, axisX, axisY, outRotatio… in TransformCoordinateSystem()
650 SensorAlgorithm sensorAlgorithm; in GetAngleModify() local
651 int32_t ret = sensorAlgorithm.GetAngleModify(curRotationVector, preRotationVector, angleChange); in GetAngleModify()
708 SensorAlgorithm sensorAlgorithm; in GetDirection() local
709 int32_t ret = sensorAlgorithm.GetDirection(rotationMatrix, rotationAngle); in GetDirection()
766 SensorAlgorithm sensorAlgorithm; in CreateQuaternion() local
767 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); in CreateQuaternion()
829 SensorAlgorithm sensorAlgorithm; in GetAltitude() local
830 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, &altitude); in GetAltitude()
[all …]