Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   camera help (http://www.chiefdelphi.com/forums/showthread.php?t=154737)

dr8giblekri 04-02-2017 16:13

camera help
 
:yikes: 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:
::rtm:: ::rtm:: ::rtm::
'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!:D

SamCarlberg 04-02-2017 20:55

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"

dr8giblekri 06-02-2017 20:15

Re: camera help
 
So, is it just the NI Vision that i would have to install, or is there something more I'm missing?


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

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