Lidar_AI_Solution
Lidar_AI_Solution copied to clipboard
error when replace load_images of loading ros msg
hello author, when I use this loading ros message of 6 images to replace orin load_images,and keep other code is the same。
i meet a error:
I check load_images, it alse use malloc to store unsigned char image data,and my result.jpg is correct。 only I donot know why the error: double free or corruption (out)
How did you free the images pointer.
and also try
How did you free the images pointer.
also try:
all above code is in ros message callback function, when I add ros::spin() in the end of message callback function, it will be correctly running, which is very weird.
@leslie27ch I replied to your email and may be able to answer your question.
Is anyone in this convo generous enough to share the resolution? Many thanks in advance!