From 5283643a3c079e7a61380611d390ac42372da8c0 Mon Sep 17 00:00:00 2001 From: SUE Date: Sat, 12 Feb 2022 08:06:36 +0000 Subject: [PATCH] Signed-off-by:hellohyh001 --- interfaces/plugin/src/sensor_napi_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/plugin/src/sensor_napi_utils.cpp b/interfaces/plugin/src/sensor_napi_utils.cpp index 50393fa5..fad2220d 100644 --- a/interfaces/plugin/src/sensor_napi_utils.cpp +++ b/interfaces/plugin/src/sensor_napi_utils.cpp @@ -146,7 +146,7 @@ std::map> g_sensorAttributeList = { { SENSOR_TYPE_ID_ORIENTATION, { "x", "y", "z" } }, { SENSOR_TYPE_ID_GRAVITY, { "x", "y", "z" } }, { SENSOR_TYPE_ID_LINEAR_ACCELERATION, { "x", "y", "z" } }, - { SENSOR_TYPE_ID_ROTATION_VECTOR, { "x", "y", "z" } }, + { SENSOR_TYPE_ID_ROTATION_VECTOR, { "x", "y", "z", "w" } }, { SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, { "temperature" } }, { SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, { "x", "y", "z", "biasX", "biasY", "biasZ" } }, { SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, { "x", "y", "z", "biasX", "biasY", "biasZ" } }, -- Gitee