-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem With Importing Pre-Generated CSV #24
Comments
Can you send me the file you're trying to import? |
also, run this again and send me the hs_err_*.log file you'll find mentioned in the crash log |
Sent both via email |
Resolved over email. |
We're having the same issue. I'm (pretty) sure that our .csv files are the The .csv files we're trying to load are in that gist as well. GitHub formats them into tables, but that's why the "Raw" button exists. |
Hey!
So my team managed to get it to work with the detailed csvs. Did u make sure to put them on the roborio? If your code is on GitHub you can send me a link and I can take a look. My team is 2729 and our code is public so feel free to look off of that as well.
https://github.com/2729StormRobotics/StormRobotics2018/blob/master/src/main/java/AutoModes/Commands/ProfileFollower.java
Best of luck,
Simar Kareer
…________________________________
From: Edwan Vi <notifications@github.com>
Sent: Tuesday, February 6, 2018 4:49:23 PM
To: JacisNonsense/Pathfinder
Cc: SimarKareer; Author
Subject: Re: [JacisNonsense/Pathfinder] Problem With Importing Pre-Generated CSV (#24)
We're having the same issue. I'm sure that our .csv files are the _detailed versions, but the JRE crashes when trying to lead them into Trajectory objects (with Pathfinder.readFromCSV.)
here's our hs_err_*.log<https://gist.github.com/tkdberger/38935891781fc6342daf7ad8284bb55d>
The .csv files we're trying to load are in that gist as well. GitHub formats them into tables, but that's why the "Raw" button exists.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#24 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOab2mUynGZ-4O_d2f7yZad8il4XpxAQks5tSMjigaJpZM4RldHa>.
|
We have both CSVs on the robot alongside the compiled .jar version of our code. Might try what you guys have done to see if it works (i.e. putting it in another folder under |
Some time later, we're still segfaulting on loading the CSV files. We've tried both putting them in a different directory and setting the permissions on both files to e1: Interestingly, Pathfinder loads other trajectories made with |
According to JaciBrunning/Pathfinder#24 (comment) that fixes these issues
It may be that the paths are trying to overwrite your buffers. Vannaka's generator uses Pathfinder internally, so there should not be a huge difference. Send me your .csv files here and I'll take a look |
They're in this gist (as well as the JVM crash log at the bottom.) GitHub pretty-prints them as tables, so here's the raw right side and the raw left side. If memory serves, one of the two paths intersects itself for a sharp turn. We made a revised version without this intersection and it loaded fine. |
When attempting to load csv from file on the roborio our code crashes:
Here's the error:
The text was updated successfully, but these errors were encountered: