-
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
"A fatal error has been detected by the Java Runtime Environment" #40
Comments
The library isn't particularly resilient to incorrect initialization. Perhaps if you posted your code we could point out what you missed? |
I declare my waypoints in RobotMap like so. It is used inside of a constructor in the command "DriveAlongProfile." DriveAlongProfile:
This command is called within a command group called "MidToSwitch" MidToSwitch:
This is grouped within another command group that makes the decision of which middle autonomous routine to run.
Finally they are added as choosers to the SmartDashboard.
|
In the future please post code in a gist, it's very hefty to read in an issue report. Usually this issue appears if your path is invalid, change your waypoints to make sure they fit within your drivetrain constraints. |
We have the same error and our waypoint is just moving to a waypoint of 5,0,0 from 0,0,0 |
I'm having the same error. |
@JacisNonsense I'm having an issue with this as well. When the robot tries to load the trajectory file, It crashes. Here is my program I am running: https://github.com/FRCTeam3206/2019Subsystems-Java/tree/master/HobbesPathweaver Any help is very much appreciated. Thank you! |
********** Robot program starting **********
NT: server: client CONNECTED: 10.1.35.17 port 60883
Opening USB serial port to communicate with navX-MXP/Micro
navX-MXP/Micro Connected via USB.
navX-MXP/Micro Configuration Response Received.
HI!
1
12.857513427734375
0.0
HI!
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0xa9c0d398, pid=17983, tid=0xb52ab470
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 [libpathfinderjava.so+0x6398] pf_trajectory_fromSecondOrderFilter+0x2c8
Core dump written. Default location: //core or core.17983 (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_pid17983.log
I'm really new to motion profiling and thought I'd use these libraries but upon startup I get this error. What do I need to provide to help alleviate this problem?
The text was updated successfully, but these errors were encountered: