DavidNKraemer / SoCG21

Stony Brook University operations research graduate students' project for the 37th international Symposium on Computational Geometry (SoCG)
1 stars 0 forks source link

Plotting error #11

Closed wessle closed 3 years ago

wessle commented 3 years ago

Not sure what happened here: plot_error Any ideas?

LoganDGraham commented 3 years ago

Can you check that you input the obstacles as a numpy array of numpy arrays?

Should look like this: obstacles = np.array([[3,3], [0,1]])

On Thu, Feb 11, 2021, 11:25 AM Wesley Suttle notifications@github.com wrote:

Assigned #11 https://github.com/DavidNKraemer/SoCG21/issues/11 to @LoganDGraham https://github.com/LoganDGraham.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/DavidNKraemer/SoCG21/issues/11#event-4321328980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLXRCTAT666TNVBLIA3X33S6QOJTANCNFSM4XPKD6NA .

LoganDGraham commented 3 years ago

Ohhhhh. I got it. There's a small error because the obstacles array had length 0. I'll push a fix to dev ASAP

LoganDGraham commented 3 years ago

It works now. If you want there to be no obstacles, then write

obstacles = np.array([[]])