Closed maximilianwulf closed 2 years ago
Hi @maximilianwulf,
Thank you very much for reporting this issue - I guess we haven't observed this since we rarely build in Debug mode. A simple check if detections_
is a valid pointer, i.e. if (detections_) apriltag_detections_destroy(detections_);
might fix it?
Hi @wxmerkt, yes that should solve it. Do you want me to test and submit that issue?
Yes, can you please test this and make a PR? Many thanks! :-)
Maybe a special case of usage here, but
Running the node and not providing any input messages gives the following error when closing the node
This is because in the constructor of the TagDetector
The desctructor wants to destroy
detections_
withBut
zarray_size
asserts if the pointer points to NULL.Is it possible to initialize
detections_
with something else thanNULL
?