1 Star 0 Fork 2

eric/V2V-PAEB

forked from JeffreyChan/V2V-PAEB 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
extract_PAEB_data.m 937 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangzhii 提交于 2016-07-05 20:20 . change
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Matlab
1
https://gitee.com/erichong007/V2V-PAEB.git
[email protected]:erichong007/V2V-PAEB.git
erichong007
V2V-PAEB
V2V-PAEB
master

搜索帮助