Go to Post I love how the people of Chief Delphi can turn a spam post into a somewhat non-timewasting thread. Either way, congrats CD and thanks for this ;) - logank013 [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 29-01-2015, 20:36
CreativeName55 CreativeName55 is offline
Registered User
FRC #2729 (Storm Robotics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Marlton
Posts: 17
CreativeName55 is an unknown quantity at this point
OpenCV in SmartDashboard

So my team's created a vision system for this year, and are trying to get it implemented with SmartDashboard sfx. As a result, I've managed to port over some of the classes used in wpijavacv from last year into eclipse, namely WPICameraExtension, along with Integer and Boolean Properties, and all they depend on. We're stuck at the last step of the process.

Last year it was as simple as building a jar and putting it in the extensions folder of SmartDashboard, and running it as a widget on the driver station. Is there anything similar to that for SmartDashboard sfx, or do we have to reinvent the wheel a bit?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2015, 17:20
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 212
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: OpenCV in SmartDashboard

We want to do the same thing! I replied to someone in the OpenCV for RoboRIO thread, but I want to keep the thread on topic. Does anyone have any ideas on how to go about this.

We can convert the Mat into a jpg, is there a way to put those images on the smartdashboard into a movie file?

Thanks.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2015, 18:37
CreativeName55 CreativeName55 is offline
Registered User
FRC #2729 (Storm Robotics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Marlton
Posts: 17
CreativeName55 is an unknown quantity at this point
Re: OpenCV in SmartDashboard

Quote:
Originally Posted by jreneew2 View Post
We want to do the same thing! I replied to someone in the OpenCV for RoboRIO thread, but I want to keep the thread on topic. Does anyone have any ideas on how to go about this.

We can convert the Mat into a jpg, is there a way to put those images on the smartdashboard into a movie file?

Thanks.
We eventually gave up on OpenCV in SFX, as there seemed to be a major problem that made it unable to work, so we moved back into SmartDashboard, and eventually converting our png into an IPLImage, then into a WPIImage using a custom method
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2015, 18:56
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: OpenCV in SmartDashboard

Quote:
Originally Posted by CreativeName55 View Post
We eventually gave up on OpenCV in SFX, as there seemed to be a major problem that made it unable to work, so we moved back into SmartDashboard, and eventually converting our png into an IPLImage, then into a WPIImage using a custom method
Can you check out my thread here? http://www.chiefdelphi.com/forums/sh...d.php?t=134152

It sounds like you may have had the issues I'm having. Where are you placing your SmartDashboard extension and how are you launching SmartDashboard? Where is your SmartDashboard's .jar at?
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2015, 20:48
CreativeName55 CreativeName55 is offline
Registered User
FRC #2729 (Storm Robotics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Marlton
Posts: 17
CreativeName55 is an unknown quantity at this point
Re: OpenCV in SmartDashboard

Quote:
Originally Posted by Ozuru View Post
Can you check out my thread here? http://www.chiefdelphi.com/forums/sh...d.php?t=134152

It sounds like you may have had the issues I'm having. Where are you placing your SmartDashboard extension and how are you launching SmartDashboard? Where is your SmartDashboard's .jar at?
My problem was directly related to SmartDashboard SFX. After a decent length conversation with the lead dev of it, he explained that he had no clue how to solve a specific library issue, other than wait for the JavaCV bindings to be finished (thanks again Pat, if you read this). So that's when we moved over to SmartDashboard, where mostly it's working. Besides a small error with Mat's and cvtColor that we're working through
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 18:02.

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