Go to Post My team heard another team describe the Championships as "10,000 kids jamming the Georgia Dome for 3 days…more nerds per square foot than a Star Trek convention…and more purposefully employed " Is this true?, Because I don't think there could possibly be a more wonderful place on earth - Emily3204 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-03-2016, 20:48
JohnM's Avatar
JohnM JohnM is offline
Registered User
FRC #5854 (Glitch)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: North Carolina
Posts: 53
JohnM has a spectacular aura aboutJohnM has a spectacular aura about
OpenCV on RoboRIO and Eclipse

Hi there. I'm having trouble making OpenCV work with Eclipse so that we can deploy code to the robot and have our vision system integrated with it. I am following these exact instructions. But when building the c++ project it spits out these errors.


I have tried just opening a USB camera in OpenCV in the program, even if I just #include OpenCV it spits out these errors so it is probably not an issue with the code I have currently.
  #2   Spotlight this post!  
Unread 13-03-2016, 22:23
joeojazz joeojazz is offline
Registered User
FRC #5712
 
Join Date: Jan 2016
Location: Hemlock
Posts: 42
joeojazz is an unknown quantity at this point
Re: OpenCV on RoboRIO and Eclipse

Try these instructions it's an old cv (2.4) but same process. http://docs.opencv.org/2.4/doc/tutor...a_eclipse.html
  #3   Spotlight this post!  
Unread 24-03-2016, 23:36
FleventyFive FleventyFive is offline
Registered User
FRC #4118
 
Join Date: Sep 2014
Location: Gainesville, FL
Posts: 23
FleventyFive is on a distinguished road
Re: OpenCV on RoboRIO and Eclipse

Are you still having this issue?

Try opening WPILIB.h (in your includes somewhere) and commenting out the line "#define REAL". For some reason, having this variable defined messes with opencv
  #4   Spotlight this post!  
Unread 25-03-2016, 08:25
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 185
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: OpenCV on RoboRIO and Eclipse

Quote:
Originally Posted by FleventyFive View Post
Are you still having this issue?

Try opening WPILIB.h (in your includes somewhere) and commenting out the line "#define REAL". For some reason, having this variable defined messes with opencv
This thread has a little more information on why this is a safe thing to do. http://www.chiefdelphi.com/forums/sh...8&postcount=18
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

Closed Thread


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:56.

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