Home
last modified time | relevance | path

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

/base/sensors/sensor/interfaces/plugin/src/
Dsensor_napi_utils.cpp401 napi_value inclination = nullptr; in ConvertToRotationMatrix() local
403 THREE_DIMENSIONAL_MATRIX_LENGTH, inclination); in ConvertToRotationMatrix()
408 CHKNRF(env, napi_set_named_property(env, result[1], "inclination", inclination), in ConvertToRotationMatrix()
Dsensor_js.cpp909 std::vector<float> inclination(THREE_DIMENSIONAL_MATRIX_LENGTH); in CreateRotationAndInclination() local
914 …_t ret = sensorAlgorithm.CreateRotationAndInclination(gravity, geomagnetic, rotation, inclination); in CreateRotationAndInclination()
924 asyncCallbackInfo->data.rationMatrixData.inclinationMatrix[i] = inclination[i]; in CreateRotationAndInclination()
/base/sensors/sensor/interfaces/plugin/test/unittest/sensor/
DExampleJsunit.test.js2100 expect(data.inclination.length).assertEqual(SENSOR_DATA_MATRIX[1].inclination.length)
2101 for (let i = 0; i < data.inclination.length; ++i) {
2102 … expect(Math.abs(data.inclination[i] - SENSOR_DATA_MATRIX[1].inclination[i]) < EPS).assertTrue()