Go to Post I can't help looking at the new center piece my wife put on the dinning room table and think to myself, "non-functional decoration" - DarrinMunter [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 04-02-2017, 16:13
dr8giblekri dr8giblekri is offline
Registered User
FRC #5920
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Palouse, WA
Posts: 9
dr8giblekri is an unknown quantity at this point
Post camera help

so, i tried updating the frc toolchains and it said i did it successfully. when i updated eclipse then the camera code that i used last year said that there was an error. it says this:

'IMAQdxSession' does not name a type
'Image' does not name a type
'IMAQdxError' does not name a type

then all the stuff below (the actual code not the initialization) gets a syntax error.


any help is appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 20:55
SamCarlberg's Avatar
SamCarlberg SamCarlberg is offline
GRIP, WPILib. 2084 alum
FRC #2084
Team Role: Mentor
 
Join Date: Nov 2015
Rookie Year: 2009
Location: MA
Posts: 161
SamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to beholdSamCarlberg is a splendid one to behold
Re: camera help

wpilib.screenstepslive.com/s/4485/m/13503/l/681378-new-for-2017

Quote:
Originally Posted by WPILib
Computer vision and camera support
For 2017 the most significant features added to WPILib Suite have been in the area of computer vision. First and formost, we have moved from the NIVision libraries to OpenCV. OpenCV is an open source computer vision library widely used through academia and industry. It is available in many languages, we spefically support C++, Java and Python. There is a tremendous wealth of documentation, videos, tutorials, and books on using OpenCV in a wide ranging set of applications with much emphasis on robotics.

OpenCV libraries are now bundled with WPILib and will be downloaded to the roboRIO without the need for teams to locate and download it themselves.
There is complete support for USB and Axis cameras in the form of a CameraServer class and specific camera classes that will produce OpenCV images that can be used for further processing. You can either let the CameraServer automatically stream camerea video to the SmartDashboard or you can add processing steps on the robot between capture and sending to the Dashboard. All the example programs in eclipse have been updated to show how the new Camera server is used.
GRIP, the graphical vision pipeline generator can be used to quickly and easily create and test computer vision algorithms that can run standalone on your Driver Station computer sending results back to the robot via NetworkTables. New for 2017, GRIP can generate code in either C++, Java or Python for your vision algorithm that can easily be incorporated into robot programs.
The NIVision libraries have been removed from WPILib to a separately installable package.
Emphasis mine.

Installation instructions: CTRL-F "Vision"
__________________
WPILib
GRIP, RobotBuilder
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2017, 20:15
dr8giblekri dr8giblekri is offline
Registered User
FRC #5920
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Palouse, WA
Posts: 9
dr8giblekri is an unknown quantity at this point
Re: camera help

So, is it just the NI Vision that i would have to install, or is there something more I'm missing?
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 13: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