Boomaa23 / open-ds

A reverse-engineered lightweight cross-platform FRC Driver Station
https://boomaa23.github.io/open-ds/
Other
43 stars 8 forks source link

Combatability with ARM on Pi4 #18

Open LordBBQ opened 2 years ago

LordBBQ commented 2 years ago

I am trying to setup a demo portable driver station by running OpenDS on a Pi4. I get the error Exception in thread "main" com.boomaa.opends.util.NativeSystemError: Unsupported architecture aarch64 at com.booma.opends.util.Architecture.getCurrent(Architecture.java:22) at com.booma.opends.util.Libraries.init(Libraries.java:22) at com.booma.opends.DisplayEndpoint.main(DisplayEndpoint.java:135) Based on the error message it appears to be an issue with the ARM architecture.

Boomaa23 commented 2 years ago

Hey, this looks like I just need to compile for Linux aarch64 and change some config. I'll get to it as soon as I can. Thanks!

LordBBQ commented 2 years ago

Great thanks!

Boomaa23 commented 2 years ago

Hi @LordBBQ, you can try the below JAR file (or compile yourself as of commit b3806092633d93c03c5c09748acd9c954a315096). Turns out there was a bit more to do but it should work now (I tested on my own rpi4). Please let me know if it does or does not work!

open-ds-v0.2.4-SNAPSHOT-jar-with-dependencies.zip

LordBBQ commented 2 years ago

Sorry for the delayed response, I finally got time to try it out. It runs ok, detects joystick, connects, enables, but the rsl flickers making me suspect it’s switching between enabled and disabled. Joystick cannot drive the robot and the PDP/PCM arn’t switching into enabled.

Boomaa23 commented 2 years ago

Hmmm okay. I think I messed something up with some other unrelated changes I made. I'll troubleshoot this. In the meantime can you maybe try the JAR I sent you on another computer to see if that works?

Boomaa23 commented 1 year ago

Hi there! I think I've fixed your issue. Please try this jar: d49c019.jar.

If that doesn't work, please try running with java -jar (name of jar file) --debug and show me the output. Also let me know if you're using a roborio 2 and if the new JAR works on any other computers you have.

LordBBQ commented 1 year ago

I’m running a RIO2. My team won’t meet again until build season so I can try and test it then. On 23 Dec 2022, at 4:51 pm, Boomaa23 @.***> wrote: Hi there! I think I've fixed your issue. Please try this jar: d49c019.jar. If that doesn't work, please try running with java -jar (name of jar file) --debug and show me the output. Also let me know if you're using a roborio 2 and if the new JAR works on any other computers you have.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Boomaa23 commented 1 year ago

Hi, just wanted to bump this. If you are no longer having this problem, please close this issue.