JaciBrunning / Pathfinder

Cross-Platform, Multi-Use Motion Profiling and Trajectory Generation
MIT License
255 stars 78 forks source link

JRE crash when generating points (Windows 64-bit) #12

Open xlash123 opened 7 years ago

xlash123 commented 7 years ago

I'm trying to run some tests of some trajectories I'm generating to validate them, yet when I try to generate the points on my Windows PC, I keep running into the same error: http://pastebin.com/hy0Uy1pU I've tried various things to fix it, such as confirming that it loads the native libraries and building using gradle, yet nothing seems to fix it. Do you have any idea of what is going wrong? PS: The points do generate when we run it on the roboRIO with no errors.

JaciBrunning commented 7 years ago

Can I have more info on the log? You didn't include the backtrace.

Do you know if any other functions work other than generate? If not, it might be an architecture issue.

rssmith614 commented 6 years ago

Don't set an exit angle to 0 exactly in the Waypoints, it causes a divide by zero error and crashes Java. I fixed it by setting the exit angle to 0.001.