Hello. I tried deploying LIDAR Reading from MATLAB to Jetson Nano using GPU Coder, from this link:
I just edited this code to print the Location + Intensity:
fprintf('Frame %d:\n', int32(i));
fprintf('XYZ coordinates:\n');
for j = 1:size(outStruct{1, i}, 1)
fprintf('%.4f %.4f %.4f\n', outStruct{1, i}(j, 1), outStruct{1, i}(j, 2), outStruct{1, i}(j, 3));
fprintf('Intensity values:\n');
for j = 1:size(outStruct{2, i}, 1)
fprintf('%u\n', outStruct{2, i}(j));
When I tried to run the .elf deployed on Jeson Nano, It keeps printing:
0.00 0.00 0.00 0.00
I keep getting all zeros, so what's the issue now? Does it mean that It's not reading from my LIDAR?