Closed ErikBoesen closed 6 years ago
What I would say is go through and fix all of the stuff that is broken, and then come back and merge this
@twinters007 Yeah, I'll do that.
@twinters007 The issue is that only one waypoint is being passed to pf.generate
. What do I need to do to fix this?
pf.generate([pf.Waypoint(0, 0, 0), waypoint],
pf.FIT_HERMITE_CUBIC, pf.SAMPLES_HIGH,
0.05, 1.7, 2.0, 60.0)
That's what I did, although I'm not versed enough with pathfinder to know if this is correct
That would make sense.
@twinters007 Okay, the tests are now passing. However, they take a ridiculously large quantity of time to run (mine took 6m40s). Do you have any idea how I can get around this?
I don't think there's an easy way. Your computer is slower than mine, so mine only take like, 2 minutes
It has to do with the notifier I'm pretty sure, as well as testing EVERY single possible autonomous (testing all autonomous with all configurations of the field)
Can we only test in one configuration? Is that possible? I'd rather not test every configuration every time...
I stupidly deleted all the changes I made so lemme make sure this is everything I found wrong...although I'm surprised the tests passed without the super call. They should've crashed
Ok so after talking with dustin, it turns out that generating pathfinder paths takes a LONG time, so get rid of the second charge auto. That'll really cut down test time
@twinters007 It's still really slow (~56s for me)...
That's probably as god as you're gonna get I think
Fix #143