Skip to content
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

Optionally disable usage of wpiHalJNI #19

Merged
merged 3 commits into from
Apr 4, 2024
Merged

Optionally disable usage of wpiHalJNI #19

merged 3 commits into from
Apr 4, 2024

Conversation

nab138
Copy link
Collaborator

@nab138 nab138 commented Apr 4, 2024

This is neccessary for using Oxplorer in non-rio and non-simulation environments, as the DriverStation class relies on the haljni which cannot be directly bundled with the oxplorer jar. This PR will check for -Dnohaljni=true as a JVM option, and if it is present, it will return default values instead of using the DriverStation class.

This change was made to facilitate the OxplorerGUI.

@nab138 nab138 merged commit 3182b5c into main Apr 4, 2024
1 check passed
@nab138 nab138 deleted the bundle-jni branch April 4, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant