Go to Post A well learned individual knows themselves and how to collect and use the tool of knowledge. - techhelpbb [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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-24-2016, 03:47 AM
nardavin nardavin is offline
Registered User
FRC #2403 (Plasma Robotics)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Gilbert, Arizona
Posts: 23
nardavin is on a distinguished road
Reliability of Pixy Camera?

Our team is considering purchasing a Pixy camera (link below) to hopefully use in next year's game. For the teams that have used a Pixy in the past, how reliable has it been? As it uses hue-based filtering, have any teams had problems tracking greyscale objects (such as the 2016 boulders)?

Also, after reading through the docs it looks like the get x, y locations are pixel-based. This seems like it may be an issue as the camera appears to have a fairly fish-eye lens (see photo linked below). Has this been an issue for any teams that do vision tracking by using vector-based calculations and moving by gryo angle rather than direct camera feedback?

Pixy: http://charmedlabs.com/default/pixy-cmucam5/
Fish-eye example: http://i74.photobucket.com/albums/i2...ps1e87977b.jpg

Thanks!
__________________
Team 2403: Plasma Robotics

Member 2014-2017, Head Programmer 2015-2016, Leadership Team 2016-2017, Co-President 2017



Reply With Quote
  #2   Spotlight this post!  
Unread 10-24-2016, 04:38 AM
solomondg solomondg is offline
Registered User
FRC #2898 (Flying Hedgehogs)
Team Role: Programmer
 
Join Date: Aug 2016
Rookie Year: 2016
Location: Portland, Oregon
Posts: 8
solomondg is an unknown quantity at this point
Re: Reliability of Pixy Camera?

You're not going to be able to track the greyscale boulders, but the Pixy should be fine for stuff like the retroreflective tape on the goal. At least from our observations, the Pixy has a huge lack of contrast or color --- everything's pretty washed-out, so you'll only be able to do bright colors.

Fisheye shouldn't be that much of a problem. Worst case, you can use OpenCV to determine the distortion factors, then write a correction software-side.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-24-2016, 07:10 AM
Gdeaver Gdeaver is online now
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,356
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Reliability of Pixy Camera?

My opinion is that the Pixycam would probably be better on a FTC - VEX scale field. Lighting variations and FRC field scale gave it problems when we tested it. In my opinion it might be better to bite the bullet and invest resources in learning grip - Opencv with some camera choices. Our student are working on a PI3 and opencv for next year. We used grip and a Pi2b this year. I would say that grip was a good learning tool.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-24-2016, 08:34 AM
ItsTheRealAce ItsTheRealAce is offline
Registered User
FRC #4592
 
Join Date: Oct 2016
Location: Pembroke Pines
Posts: 2
ItsTheRealAce is an unknown quantity at this point
Re: Reliability of Pixy Camera?

Hey, so my team bought the Pixycam during the off season. It is one of the easiest visioning cameras to use. From what I have seen on my team's Pixycam is that it doesn't have to much of a fisheye effect to it, also if does are team didn't do anything to fix it and it works great at our shop. Sadly we didn't get to try it out at an off season. The only problem with the Pixycam is you can't really get both x and y, at least yet. What is very helpful is for it to work you just have tell you Pixy what it is looking for once, on the computer interface, and then it sends you a voltage depending where it is and then you code for it.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-24-2016, 11:40 AM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Reliability of Pixy Camera?

I have been using the pixymon camera for some fun off season project. Here is are auto aiming ping pong robot https://www.youtube.com/watch?v=2pQD2WqQjCM

It is very impressive however there are some big downsides to it.
1) if you ever brown the camera out it will loose its configuration
2) Camera does not have great resolution so distance is a problem
3) Can not do any advanced shape detection. This is almost a must in FRC

over all i would not recommend it for FRC. It is a lot of fun to play with and to learn but just not great for FRC
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #6   Spotlight this post!  
Unread 10-24-2016, 11:52 AM
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,055
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by Bpk9p4 View Post
2) Camera does not have great resolution so distance is a problem
3) Can not do any advanced shape detection. This is almost a must in FRC

over all i would not recommend it for FRC. It is a lot of fun to play with and to learn but just not great for FRC
I'm grabbing your last two points because I have concerns unrelated to pixy.

2) resolution and distance aren't really required for FRC, shooting from the defenses was very doable for us last year at reasonably low resolutions. I've also had good luck with the CMUcam3 in the past which was probably comparable resolution. Typically the first step I do in any image processing is to lower the resolution of the image so I can process it faster.

3) Last year we did 0 shape recognition, we relied almost exclusively on lowering the exposure on the camera.

I like to think our camera tracking was pretty reliable last year. I guess I'm just disagreeing that you really need high resolution and shape recognition.
__________________




.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-24-2016, 12:07 PM
Harrison.Smith Harrison.Smith is offline
Business, CAD, Mechanical
no team
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2013
Location: Texas
Posts: 113
Harrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to all
Re: Reliability of Pixy Camera?

On 1296 this year we used the Pixy for our vision both in auton and teliop, it worked great! We did try and use it for some boulder tracking and this did not work very well outside of ~6in, due to the grey boulder and carpet along with the lack of reflectiveness of the boulder. For a year that does not need shape recognition like this year with the tower the Pixy seems to be a relativity easy solution. My favorite part is Pixymon which allows for super easy tuning.

*Disclaimer I am not a programmer/software guy and most of this info was relayed to me from the programmer.
__________________
“Rest and be thankful.” — William Wadsworth

Team 1296: 2014 - 2016
Reply With Quote
  #8   Spotlight this post!  
Unread 10-24-2016, 12:56 PM
AirplaneWins AirplaneWins is online now
Registered User
FRC #2848
 
Join Date: Apr 2015
Location: Dallas
Posts: 9
AirplaneWins is an unknown quantity at this point
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by Harrison.Smith View Post
On 1296 this year we used the Pixy for our vision both in auton and teliop, it worked great! We did try and use it for some boulder tracking and this did not work very well outside of ~6in, due to the grey boulder and carpet along with the lack of reflectiveness of the boulder. For a year that does not need shape recognition like this year with the tower the Pixy seems to be a relativity easy solution. My favorite part is Pixymon which allows for super easy tuning.

*Disclaimer I am not a programmer/software guy and most of this info was relayed to me from the programmer.
This is probably a better question for your programmers, but how did you interface with the Pixy.
Reply With Quote
  #9   Spotlight this post!  
Unread 10-24-2016, 01:51 PM
Harrison.Smith Harrison.Smith is offline
Business, CAD, Mechanical
no team
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2013
Location: Texas
Posts: 113
Harrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to allHarrison.Smith is a name known to all
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by AirplaneWins View Post
This is probably a better question for your programmers, but how did you interface with the Pixy.
We used analog and dio.
__________________
“Rest and be thankful.” — William Wadsworth

Team 1296: 2014 - 2016
Reply With Quote
  #10   Spotlight this post!  
Unread 10-24-2016, 02:09 PM
Rangel(kf7fdb)'s Avatar
Rangel(kf7fdb) Rangel(kf7fdb) is offline
John Rangel
FRC #0842 (Falcon Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Phoenix, AZ
Posts: 715
Rangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond reputeRangel(kf7fdb) has a reputation beyond repute
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by Andrew Schreiber View Post
3) Last year we did 0 shape recognition, we relied almost exclusively on lowering the exposure on the camera.

I like to think our camera tracking was pretty reliable last year. I guess I'm just disagreeing that you really need high resolution and shape recognition.
Agreed. We did basically the same and had a 100% auto shot accuracy at champs. We did use a higher resolution for more precise off center measurements but it was working almost as good with a lower resolution.
__________________
2011-2014 Arizona Regional Winners
2012 Dean's List Winner
2012-2013 Team President
2013 8th Place Robosub Competition
2014-? Mentor


Reply With Quote
  #11   Spotlight this post!  
Unread 10-24-2016, 02:22 PM
electroken's Avatar
electroken electroken is offline
Electron Tamer
AKA: Ken Pontbriant
FRC #0230 (Gaelhawks)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Shelton, CT
Posts: 166
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: Reliability of Pixy Camera?

We used the Pixy camera from week 5 on in Stronghold. It was the key to our autonomous high shot and a major contributor to our 9-11 high goal matches. The interface we chose to use was the simplest one (digital/analog X). I found it to be a bit touchy to set up, but once calibrated to the lighting in each venue it worked well.

We did change the lens from the stock one (75 degree horizontal field of view) to I think 51 degrees field of view.

Last edited by electroken : 10-24-2016 at 02:46 PM.
Reply With Quote
  #12   Spotlight this post!  
Unread 10-24-2016, 03:04 PM
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Reliability of Pixy Camera?

I could be wrong about using it on the FRC robot. Sounds like lots of people have had good luck with it

Has anyone seen the problem where if the board browns out you loss your config . Maybe there is just something wrong with my board
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #13   Spotlight this post!  
Unread 10-24-2016, 03:33 PM
nardavin nardavin is offline
Registered User
FRC #2403 (Plasma Robotics)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Gilbert, Arizona
Posts: 23
nardavin is on a distinguished road
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by solomondg View Post
Fisheye shouldn't be that much of a problem. Worst case, you can use OpenCV to determine the distortion factors, then write a correction software-side.
How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.
__________________
Team 2403: Plasma Robotics

Member 2014-2017, Head Programmer 2015-2016, Leadership Team 2016-2017, Co-President 2017



Reply With Quote
  #14   Spotlight this post!  
Unread 10-24-2016, 03:53 PM
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 319
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by nardavin View Post
How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.
Although I don't know how, I would imagine there is some way of getting the raw feed from the pixy over usb. I say this because in pixyMon you can view the live feed from the camera. Again though, I'm not sure how one could access this through say open.
Reply With Quote
  #15   Spotlight this post!  
Unread 10-24-2016, 08:04 PM
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,055
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by nardavin View Post
How are you able to use OpenCV with the Pixy? I was under the impression that there was no way to pull the raw feed from the camera.
You aren't. I think what they are mentioning is taking an image off the pixy and run it through opencv's distortion stuff. Then in robot code apply the transform to the position returned by the pixy.
__________________




.
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 05:57 PM.

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