Closed GaganBhat closed 6 years ago
Think you could link the trajectory you’re trying to import? I’ve had issues when the trajectory wasn’t mathematically accurate... have you tested a simple drive straight trajectory?
Here is the csv file (converted to txt so that github accepts it.)
Was this created using Vannaka’a generator GUI? I think you’re using the “SRX” profile they export... you need to use the “detailed” profile for it to be able to import into Pathfinder code using the read function.
Alright, thanks a ton for that, I will try that right now! And yes, I did use Vannaka's generator GUI.
Thanks for letting me know, the error doesn't occur anymore and everything functions normally =)
When I try reading CSV files from the roboRio using Pathfinder.readFromCSV(), the code crashes on the Rio.
Here's the code within the constructor of the class.
exists() returns true and so does canRead(). The absolute path is also correct. When I comment out line 32, the error disappears.
Here's the error from the roboRio console
` true /home/lvuser/StraightForward_left.csv true
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0xb6d795b0, pid=14157, tid=0xb52b6470
JRE version: OpenJDK Runtime Environment (8.0_131-b57) (build 1.8.0_131-b57)
Java VM: OpenJDK Client VM (25.131-b57 mixed mode, Evaluation linux-aarch32 )
Problematic frame:
C [libc.so.6+0x345b0]
Core dump written. Default location: //core or core.14157 (max size 2048 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
/tmp/hs_err_pid14157.log
If you would like to submit a bug report, please visit:
http://www.azulsystems.com/support/
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
`
Thanks in Advance!