collecting mobile sensor data

2 ビュー (過去 30 日間)
Oday Shahadh
Oday Shahadh 2021 年 12 月 28 日
回答済み: Kush 2023 年 6 月 30 日
Hi every body
I got the sensor data related with angvellog(m); wich is nx3 matrix, but why I got av=[ ] an empty as well tav also?
pls help
clear
clear m
m = mobiledev;
m.AngularVelocitySensorEnabled = 1;
m.OrientationSensorEnabled = 1;
m.Logging=1;
angvellog(m);
[av,tav]=angvellog(m);

回答 (1 件)

Kush
Kush 2023 年 6 月 30 日
Based on the code you provided, it seems like you are trying to use the 'angvellog' function to log angular velocity, the following things could be causing the issue:
Device Compatability: Ensure that the mobile device you are using supports the logging of angular velocity data.
Sensor configuration: Make sure sensor configuration is enabled, you can do this by 'Sensors > More > Sensor Access' in MATLAB mobile.
For further information about the angvellog function checkout its documentation angvellog

カテゴリ

Help Center および File ExchangeMATLAB Mobile Fundamentals についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by