Go to Post There are a maximum of 80 balls in play . If all the balls are in the goals or out of play and the human players won't throw them back in, I guess the robots might try line dancing or doing the cha-cha. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-02-2017, 20:30
zmherbs zmherbs is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Mentor
 
Join Date: Feb 2017
Rookie Year: 2008
Location: Novi, MI
Posts: 1
zmherbs is an unknown quantity at this point
Runnable jars and opencv on a Raspberry Pi

Howdy all,

We are working on getting our vision processing code working with our robot but we have run into a little snag. We are planning on using a Raspberry Pi 3 to do the vision work to take the load off of the Rio, and the code seems to run well in eclipse. The issue is when we try to export the code as a runnable jar.

When we try to run this command with the jar:

java -Djava.library.path=~/Desktop/test_export_lib/ -jar test_export.jar

we get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java310 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at HighGoalLightCV.<clinit>(HighGoalLightCV.java:38)

The contents of test_export_lib contains the opencv_310.jar file along with the other jars we are using. Looking online in multiple location mentioned something about a so or dll file (though the dll should only be for windows) which doesn't seem to exist even after building the java version of opencv natively.

If anyone else has gotten their opencv code to run on a Pi any tipe would be greatly appreciated!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi