rursprung / fhgr-mrproj2

A ROS 1 based tank with a LIDAR.
GNU General Public License v3.0
2 stars 2 forks source link

fix handling of polygon in QR Code Finder #77

Closed rursprung closed 1 year ago

rursprung commented 1 year ago

by accident the polygon was stored as a reference, however the original variable went out of scope at the end of the loop, so the reference was invalid afterwards. it must of course not be stored as a reference but instead the struct must own it.

also add the vector include. it was already there transiently, however it's cleaner if we add it explicitly. other minor fixes have been added as well.