ROS Deep Learning Overlay flags addition

asked 2020-09-15 05:23:04 -0500

yash.j gravatar image

updated 2020-10-14 16:46:41 -0500

jayess gravatar image

I have been testing the Deeplearning application provided by https://github.com/dusty-nv/jetson-in....

I checked the Overlay Flags supported where : Box, Label, Confidence.

I have configured the TI-mmwave radar to give Range & Velocity values, /detectnet/overlay is the topic which is displaying results from video_output node how to add new flags like Range & velocity in the sources.

I got error while trying the same :

workspace/jetson-inference/c/detectNet.cpp: In member function ‘int detectNet::Detect(void*, uint32_t, uint32_t, imageFormat, detectNet::Detection*, uint32_t)’:

workspace/jetson-inference/c/detectNet.cpp:793:30: error: ‘struct detectNet::Detection’ has no member ‘Range’ detections[numDetections].Range =0;

workspace/jetson-inference/c/detectNet.cpp:794:30: error: ‘struct detectNet::Detection’ has no member named ‘Velocity’ detections[numDetections].Velocity = 0;

workspace/jetson-inference/c/detectNet.cpp:853:30: error: ‘struct detectNet::Detection’ has no member named ‘Range’ detections[numDetections].Range = 0;

workspace/jetson-inference/c/detectNet.cpp:854:30: error: ‘struct detectNet::Detection’ has no member named ‘Velocity’ detections[numDetections].Velocity = 0;

workspace/jetson-inference/c/detectNet.cpp: In member function ‘int detectNet::clusterDetections(detectNet::Detection*, uint32_t, uint32_t)’:

workspace/jetson-inference/c/detectNet.cpp:1011:33: error: ‘struct detectNet::Detection’ has no member named ‘Range’ detections[numDetections].Range = 0;

workspace/jetson-inference/c/detectNet.cpp:1012:33: error: ‘struct detectNet::Detection’ has no member named ‘Velocity’ detections[numDetections].Velocity = 0;
edit retag flag offensive close merge delete