In the converter be sure to replace the placeholder JSON list.
This code is pretty dumb, so it doesn’t stop creating entries into the JSON file.](arrGen.py - Pastebin.com)
Remember that this is only for one launch angle, and you didn’t mention what it is! Looking at the code you wrote it’s 44 degrees, but you should really have stated that in the post too
Through some comparison, we have found that 44 degrees is the optimal launch angle for a robot launching balls under 18".
However, Nathan is completely correct, I should’ve mentioned it. And if you know how to use python you can utilize these scripts and generate arrays based off of custom angles!
That “optimal” angle also is only when shooting from the area around your starting tiles. Playing around with the calculator it looks like from the middle of the field that “optimal” angle is about 51 degrees.
I’m pretty sure that Harrison was using minimum launch speed required for his definition of “optimal” (hence my use of it in quotes, because I don’t think it’s the only thing to consider when saying it’s optimal), so that’s what I used too.