Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ROS Deep Learning Overlay flags addition

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

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;

click to hide/show revision 2
None

ROS Deep Learning Overlay flags addition

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

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, detectNet::Detect(void*, uint32_t, uint32_t, imageFormat, detectNet::Detection, uint32_t)’:

detectNet::Detection*, uint32_t)’:

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

=0;

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

0;

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

0;

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

0;

workspace/jetson-inference/c/detectNet.cpp: In member function ‘int detectNet::clusterDetections(detectNet::Detection*, uint32_t, 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;

0;

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

0;