|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: paper: Team 341 Vision System Code
thanks so much for posting this! just got it up and running and it is amazing!! this is our first year doing vision processing so this will help us alot in getting ready for this years competition.
|
|
#2
|
||||
|
||||
|
Re: paper: Team 341 Vision System Code
If anyone is interested, I ported the image processing portion of this code to Python. http://www.chiefdelphi.com/forums/sh...d.php?t=112866
|
|
#3
|
|||
|
|||
|
Re: paper: Team 341 Vision System Code
if it's not too much to ask, could someone please walk me through how to run the code with test images? I put the argument (a string with the path to my test image) in the arguments field of the project properties, run window. but when i run it in netbeans, i get the following errors in the netbeans output window. i guess it is trying the run the smartdashboard somehow, as it is supposed to, but how do I make this work for test images.
ant -f \\\\shs-ms10\\Students\\home\\shs.install\\NetBeansProject s\\OctoVision run init: Deleting: \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\built-jar.properties deps-jar: Updating property file: \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\built-jar.properties Compiling 1 source file to \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\classes compile: run: Exception in thread "main" java.lang.NullPointerException at edu.wpi.first.smartdashboard.gui.DashboardPrefs.ge tInstance(DashboardPrefs.java:43) at edu.wpi.first.smartdashboard.camera.WPICameraExten sion.<init>(WPICameraExtension.java:103) at edu.octopirates.smartdashboard.octovision.OctoVisi onWidget.<init>(OctoVisionWidget.java:91) at edu.octopirates.smartdashboard.octovision.OctoVisi onWidget.main(OctoVisionWidget.java:351) |
|
#4
|
|||||
|
|||||
|
Re: paper: Team 341 Vision System Code
It looks like some of the internal changes to SmartDashboard for 2013 have broken stand-alone operation. Never fear, here is how to fix it:
Add the line: Code:
DashboardFrame frame = new DashboardFrame(false); |
|
#5
|
|||
|
|||
|
Re: paper: Team 341 Vision System Code
that worked thanks so much!!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|