Go to Post Our prototypes are good and running, now just need to do some magic to transform all that wood to aluminum. :eek: - FIRSTMa2104 [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-03-2016, 23:58
LTGLambChops LTGLambChops is offline
Mentor
AKA: Austin
no team
Team Role: Alumni
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Washington
Posts: 6
LTGLambChops is an unknown quantity at this point
How do I go about installing grip on the raspberry pi 2?

To start off here are the specs of the situation:
-GRIP 1.3.0rev2
-JDK1.8.0_73 (on the Pi, u74 on my laptop)
-OpenCV has been compiled and installed
-Python 2.7
-Python 3.4
-FFMPEG

Supposedly GRIP requires OpenCV or some other libraries not mentioned on GitHub, but every time we try to run GRIP on the raspberry pi we get a missing ntcore error from GRIP during initialization (about 20-30 seconds into the starting process).

Any steps on how other teams managed to install GRIP to their pi could benefit us, as GitHub has not been very successful for us.

Thanks, ahead of time.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-03-2016, 04:28
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: How do I go about installing grip on the raspberry pi 2?

Have you tried asking around the gitter chat? I don't personally know the answer, but a lot of people have had pi-related problems solved there.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
Reply With Quote
  #3   Spotlight this post!  
Unread 13-03-2016, 18:16
LTGLambChops LTGLambChops is offline
Mentor
AKA: Austin
no team
Team Role: Alumni
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Washington
Posts: 6
LTGLambChops is an unknown quantity at this point
Re: How do I go about installing grip on the raspberry pi 2?

I did find out how to get opencv installed on my raspberry pi, but I'm receving a new error - I will head over to the gitter chat after this post.

My fix to install OpenCV: "sudo apt-get install libopencv-dev"

New issue:
Mar 13, 2016 10:17:50 PM java.util.logging.LogManager$RootLogger log
CONFIG: Configuration done.
Mar 13, 2016 10:17:51 PM java.util.logging.LogManager$RootLogger log
CONFIG: GRIP Version: 1.3.0-rc2
platform: /Linux/arm/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0xabc5de18, pid=8385, tid=3056665696
#
# JRE version: Java(TM) SE Runtime Environment (8.0_73-b02) (build 1.8.0_73-b02)
# Java VM: Java HotSpot(TM) Client VM (25.73-b02 mixed mode linux-arm )
# Problematic frame:
# C [libstdc++.so.6+0x6ce18]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pi/vision/grip/hs_err_pid8385.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted


I guess there is an issue with the libstdc++.so.6 with the current grip 1.3.0rc2 version or something. Also, it's straight out of jdk 8 throwing this exception specifically. --To Gitter!

Note: I will continue the updates on this thread as my problems are resolved, cheers!
Reply With Quote
  #4   Spotlight this post!  
Unread 13-03-2016, 23:31
blackrootbot blackrootbot is offline
Registered User
FRC #5489
 
Join Date: Jan 2016
Location: Twin Falls Idaho
Posts: 3
blackrootbot is an unknown quantity at this point
Re: How do I go about installing grip on the raspberry pi 2?

I just got it working but I'm no expert. I started over and followed the wiki step by step. I installed the mjpg streamer and use a lifecam usb camera. I made sure to use only grip 1.2.0 version program and jar files. I made sure the deploy directory was /home/pi/code/grip and that I created that directory before deploying it.
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 08:21.

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