Go to Post I guess nobody on the GDC has ever been whacked with a pool noodle. - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2013, 16:29
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
Java Smart Dashboard Camera Display Problem

We at Team 708 are trying to display our camera feed in the Smart Dashboard this year. Our camera is configured at the correct address (10.7.8.11), and anonymous viewing is enabled. We can view the feed with a browser. The feed will not show up on the Java Smart Dashboard, and when the Dashboard is run from the command line we get the following error output:

Exception in thread "Thread-5" java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.googlecode.javacpp.Loader.load(Loader.java:338 )
at com.googlecode.javacpp.Loader.load(Loader.java:266 )
at com.googlecode.javacv.cpp.avutil.<clinit>(avutil.j ava:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.googlecode.javacpp.Loader.load(Loader.java:286 )
at com.googlecode.javacv.cpp.avcodec.<clinit>(avcodec .java:85)
at com.googlecode.javacv.FFmpegFrameGrabber.<init>

Please help!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2013, 16:34
mitchellweb1 mitchellweb1 is offline
Registered User
AKA: Mitchell W
FRC #0190
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Acton, MA
Posts: 30
mitchellweb1 is an unknown quantity at this point
Re: Java Smart Dashboard Camera Display Problem

Try running java -version in the command line. If the version includes 64-bit then you have a 64 bit JVM installed. This is a problem for the vision code because the native libraries are 32-bit so they can only be loaded into a 32-bit JVM. To solve this you can install the 32-bit version of the JRE. The JRE installer should set the 32-bit version to be the default one and then the smart dashboard camera plugin should work properly.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2013, 16:57
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
Re: Java Smart Dashboard Camera Display Problem

It worked, thanks!
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2013, 16:38
thomassmailus thomassmailus is offline
Registered User
FRC #0949
 
Join Date: Feb 2013
Location: seattle
Posts: 2
thomassmailus is an unknown quantity at this point
Re: Java Smart Dashboard Camera Display Problem

We are having camera problems.

When we were using the 2012 smart dash, the camera feed showed up fine.

We upgraded to the 2013 smart dash and libraries and now there is no camera feed showing up on the smart dashboard.

I checked Java version, it is 1.6.0_30, nothing about 64 bit, so I think its all 32 bit.

I checked and anonymous login to the camera is enabled. The web page access to the axis cam works fine and we see the image there.

There is no smart dashboard Add-> Camera choice in the menu.
We only have optioon to add: Image (I think thats a static image), Connection Indicator (already using and works great), Label, and Robot Preferences (which doesn't seem to be anything related to this)

So how does one get the axsis camera feed placed on the dash?

I'm assuming that maybe the smart dashboard software is missing a module related to cameras?
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2013, 19:29
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Java Smart Dashboard Camera Display Problem

Quote:
Originally Posted by thomassmailus View Post
So how does one get the axsis camera feed placed on the dash?
http://wpilib.screenstepslive.com/s/...sion-installer
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2013, 21:24
thomassmailus thomassmailus is offline
Registered User
FRC #0949
 
Join Date: Feb 2013
Location: seattle
Posts: 2
thomassmailus is an unknown quantity at this point
Re: Java Smart Dashboard Camera Display Problem

I'll give that a try. Thanks so much.

Ugh, if only the installers were complete and all inclusive and we didn't have to spend so much of the highly limited time futzing around with the basic software architecture.
Reply With Quote
Reply


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 11:43.

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