91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

手機和電腦MATLAB通信(實時調用手機自帶傳感器數據),實時采集手機傳感器(陀螺儀、加速度計、磁強計等)的數據傳輸到電腦MATLAB端(只需要電腦和手機同時在同一個WIFI中即可),并畫出波形圖

資源截圖

代碼片段和文件信息

connector?on

Mobile=mobiledev
Mobile.AccelerationSensorEnabled=1;
Mobile.AngularVelocitySensorEnabled=1;
Mobile.MagneticSensorEnabled=1;
Mobile.OrientationSensorEnabled=1;
Mobile.PositionSensorEnabled=0;

Mobile.Logging=1;
Time_Past=1;
while(Mobile.Logging)
[Attitude?Time]?=?orientlog(Mobile);
[Attitude_RowAttitude_Column]?=?size(Attitude);
[Time_RowTime_Column]?=?size(Time);
if?Time_Row>0
if?Time(Time_Row1)>=0
psi=Attitude(Attitude_Row1);
theta=Attitude(Attitude_Row2);
phi=Attitude(Attitude_Row3);
Time_Now=Time(Time_Row1);
if Time_Past~=Time_Now
%% figure(‘name‘‘Attitude?angle‘)
subplot(311)
plot(Time_Nowpsi‘*b‘);
grid?on
hold?on
xlabel(‘Time(s)‘);ylabel(‘Yaw‘);
legend(‘\psi?(degree)‘);
subp

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1683??2018-10-07?22:07??手機和電腦MATLAB通信(實時調用手機自帶傳感器數據)\matlabTX.m
?????文件?????1094672??2018-10-07?22:07??手機和電腦MATLAB通信(實時調用手機自帶傳感器數據)\sensorgroup.zip
?????文件???????15241??2018-10-07?22:07??手機和電腦MATLAB通信(實時調用手機自帶傳感器數據)\傳感器數據采集筆記.docx
?????目錄???????????0??2019-03-29?21:37??手機和電腦MATLAB通信(實時調用手機自帶傳感器數據)\

評論

共有 條評論