27 สิงหาคม 2553

หามุม FOV ของ wiimote

 

ทดสอบทั้งหมด 2 ครั้ง

ได้ค่าต่างๆนำไปคำนวณด้วย Matlab ดังนี้

clc; clear all; close all;
%% Data 1
% fovy height
height = (28.0 + 30.0)/2;
Zprp = 0;
Zvp = 57;
fovyH = rad2deg(atan(height/2/Zvp))*2

% fovy width
width = (43.0 + 42.0)/2;
Zprp = 0;
Zvp = 57;
fovyW = rad2deg(atan(width/2/Zvp))*2

%% Data 1
% fovy height
height = (23.0 + 22.5 )/2;
Zprp = 0;
Zvp = 40;
fovyH = [fovyH rad2deg(atan(height/2/Zvp))*2]

% fovy width
width = (30.2 + 30.0)/2;
Zprp = 0;
Zvp = 40;
fovyW = [fovyW rad2deg(atan(width/2/Zvp))*2]

%% Fovy Average
mean(fovyH)
mean(fovyW)

FOV ด้าน Height = 30 องศา

FOV ด้าน Width = 41 องศา

จึงสรุปได้ว่า FOV ไม่ใช่ปัญหาที่ทำให้การว๊าบไม่สำเร็จ

ไม่มีความคิดเห็น: