image thumbnail

Kinect-controlled Travel in Google Earth 3D

by

 

05 Nov 2013 (Updated )

Fly around Google Earth 3D with the Kinect connected to MATLAB and Simulink

sl2ge_autruism_gv_callback( u )
function sl2ge_autruism_gv_callback( u )
%    ustrIndex = num2str(u(1));
u
    [ustrLat, ustrLon, ustrAlt, ustrHead] = stringifyU(u);

%    ustrLat = num2str(u(:,1), '%0.9e');
%    ustrLon = num2str(u(:,2), '%0.9e');
%    ustrHead = num2str(u(:,3), '%0.9e');
%    evalin('base', ['lon = ' ustr ';']);
%    evalin('base', ['lon - ' ustrLon ' ']);

    evalStr = ['gv_lat = ' ustrLat '; gv_lon = ' ustrLon '; gv_alt = '  ustrAlt '; gv_heading = ' ustrHead ';sl2ge_autruism_workspace_script'];
    evalin('base', evalStr);
end

Contact us