未验证 提交 58608aea 编写于 作者: O openharmony_ci 提交者: Gitee

!14033 修改docs文档

Merge pull request !14033 from 陈飞飞/cherry-pick-1675066093
......@@ -3178,7 +3178,7 @@ getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>
try {
let gravity = [-0.27775216, 0.5351276, 9.788099];
let geomagnetic = [210.87253, -78.6096, -111.44444];
sensor.getRotationMatrix(gravity, geomagnetic, function (err, data) => {
sensor.getRotationMatrix(gravity, geomagnetic, function (err, data) {
if (err) {
console.error('Get rotationMatrix failed. Error code: ' + err.code + '; message: ' + err.message);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册