Go to Post Its always good to read the rules yourself rather than listen to "word of mouth" rules. - Killraine [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 10-01-2016, 10:31
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Vision fun

Would anybody want me to make a simple vision program that detects the targets and will give info on them similar to what i did last year with the yellow totes? I know wpilib already has grip, but it does not seem polished and I do not think they are really focusing on it...The solution ideally run on either the driverstation computer or something such as a powerful coprocessor(odroid) maybe the roborio itself...discuss below, just thinking this could actually be VERY useful if you have a shooter...

(example output image)

Last edited by Fauge7 : 11-01-2016 at 01:51.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2016, 16:56
iSpotix iSpotix is offline
Registered User
FRC #4049
 
Join Date: Jan 2016
Location: Pittsburgh
Posts: 27
iSpotix is an unknown quantity at this point
Re: Vision fun

That'd be awesome. I'm just starting to learn opencv and vision. I'll take a look at your code for the totes.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2016, 21:15
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Vision fun

Quote:
Originally Posted by iSpotix View Post
That'd be awesome. I'm just starting to learn opencv and vision. I'll take a look at your code for the totes.
Alright, since somebody wants it I will open source it...I will make a post about it soon
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2016, 21:32
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: Vision fun

Quote:
Originally Posted by Fauge7 View Post
Alright, since somebody wants it I will open source it...I will make a post about it soon
Definitely please do. The vision tracking I made last year was inspired by your project.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2016, 22:10
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
Re: Vision fun

We are looking into vision processing this year. We have some new team members who are interested in programming.

We use C++, but I suppose we can translate your java.

It looks like you are using Network Tables, so I guess this runs on the Drive Station laptop in which case presumably we can use it as is on the laptop.

Are there any issues with a java program and a C++ program communicating with each other through Network Tables?

Thanks.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2016, 23:21
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Vision fun

Quote:
Originally Posted by jfitz0807 View Post
We are looking into vision processing this year. We have some new team members who are interested in programming.

We use C++, but I suppose we can translate your java.

It looks like you are using Network Tables, so I guess this runs on the Drive Station laptop in which case presumably we can use it as is on the laptop.

Are there any issues with a java program and a C++ program communicating with each other through Network Tables?

Thanks.
hmm lets see, you might be able to write your own in c++. Esentially it could be run anywhere, from the driverstation (fastest computer you really have acess too) or a coprocessor) Network tables use a standard communication protocol so it will even work with labview.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-01-2016, 01:01
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: Vision fun

Quote:
Originally Posted by jfitz0807 View Post
We are looking into vision processing this year. We have some new team members who are interested in programming.

We use C++, but I suppose we can translate your java.

It looks like you are using Network Tables, so I guess this runs on the Drive Station laptop in which case presumably we can use it as is on the laptop.

Are there any issues with a java program and a C++ program communicating with each other through Network Tables?

Thanks.
Basically what Fague said. There is no reason that you can't easily port it over to C++. While there will be differences in the syntax, the process outlined will be the same.
Reply With Quote
  #8   Spotlight this post!  
Unread 11-01-2016, 01:50
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Vision fun

Quote:
Originally Posted by Ozuru View Post
Basically what Fauge said. There is no reason that you can't easily port it over to C++. While there will be differences in the syntax, the process outlined will be the same.
in fact, there is even more documentation on c++...

your all going to hate me for doing this so easy, but here is a little sneak peek

the code isnt optimized nor does it really give any good details but hey, it identifies the targets
Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2016, 01:25
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: Vision fun

Tower Tracker is live! click here for the link
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 12:01.

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