diff --git a/interfaces/plugin/src/sensor_napi_utils.cpp b/interfaces/plugin/src/sensor_napi_utils.cpp index 50393fa545b17cf893f0542bd01e45937ce3daa7..fad2220dfe6ecd335d44dde244e391af51a76896 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" } },