Bug
Help please.
I didn't use shape to specify the obstacles. I just manually input the polygons like:
polys = [[vg.Point(0.0,1.0), vg.Point(3.0,1.0), vg.Point(1.5,4.0)],[vg.Point(4.0,4.0), vg.Point(7.0,4.0), vg.Point(5.5,8.0)]]
Is it wrong? The boundary is specified by the convex hull vertices of all points in a polygon.

Help please. I didn't use shape to specify the obstacles. I just manually input the polygons like: polys = [[vg.Point(0.0,1.0), vg.Point(3.0,1.0), vg.Point(1.5,4.0)],[vg.Point(4.0,4.0), vg.Point(7.0,4.0), vg.Point(5.5,8.0)]] Is it wrong? The boundary is specified by the convex hull vertices of all points in a polygon.
Hi! Did you solve the problem? I have the same (
These issues are most likely due to floating point issues as I see from the X and Y that the numbers are very large. See here take a look at "Floating point representation errors". I would try to make your coordinate system much smaller or see if changing COLIN_TOLERANCE to a smaller number helps.
These issues are most likely due to floating point issues as I see from the X and Y that the numbers are very large. See here take a look at "Floating point representation errors". I would try to make your coordinate system much smaller or see if changing
COLIN_TOLERANCEto a smaller number helps
Yes, scaling data solves the problem! Thank you!