dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
866 stars 258 forks source link

Fix for #56 (Another function call inside ROS callback function might not be sequential) #57

Open hokwangchoi opened 3 years ago

hokwangchoi commented 3 years ago

Subscribing the custom images (not from a video source), I experienced unsynchronized function calls with ImageCallback and Overlay functions.

ex) Multiple times of calling Overlay functions within a single ImageCallback function, which induces an illegal memory free() error.

56