how to separate multiple sensors?

조회 수: 1 (최근 30일)
the ig
the ig 2017년 3월 14일
댓글: Denis Bogomolov 2019년 6월 30일
With MathWorks Mobile Sensor Connectivity for iOS and android it is possible to get realtime sensor data from these devices. There is one problem: when multiple devices are simultaneously connected, the respective sensor data is not "separated" by channel, but all data is mixed together. For instance:
connector on
m = mobiledev
m.OrientationSensorEnabled = 1;
m.Logging = 1;
pause(38)
m.Logging = 0;
[o, to] = orientlog(m);
plot(to, o(:,2));
legend('Roll');
xlabel('Relative time (s)');
In the previous example two devices were active, as it can be seen, there is an unique timeseries containing samples from all the sources. How could I get separated channels, one for each device (to be controlled independently, one from the other)?
  댓글 수: 1
Denis Bogomolov
Denis Bogomolov 2019년 6월 30일
Please share the answer if you have found it

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Mobile에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by