代码拉取完成,页面将自动刷新
同步操作将从 JeffreyChan/V2V-PAEB 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
function [range,velocity,theta] = extract_PAEB_data(PAEB_Data,TISdet)
%#codegen
coder.extrinsic('fprintf')
%m is number of rows, and n is number of comumns
%[m,n] = size(radar_data);
%fprintf('The demision of Radar Sensor data: m = %d , n = %d \r\n',m,n);
%Radar_Data_Rows_Per_Object = 10;
%Them max number of objects that the radar sensor can detect
Max_Num_Detected_objects = TISdet;%m/Radar_Data_Rows_Per_Object;
range = zeros(Max_Num_Detected_objects,1);
velocity = zeros(Max_Num_Detected_objects,1);
theta = zeros(Max_Num_Detected_objects,1);
%Extract the information from the radar data
for i=1:Max_Num_Detected_objects
range(i) = PAEB_Data(Max_Num_Detected_objects*1 + i);
velocity(i) = PAEB_Data(Max_Num_Detected_objects*2 + i);
theta(i) = PAEB_Data(Max_Num_Detected_objects*6 + i);
%fprintf('The Radar Data Audi: range = %f , velocity = %f ,theta = %f\r\n',range(i),velocity(i),theta(i));
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。