Go to Post My goal as a mentor is to make myself irrelevant. Is that possible? Probably not. But this is one place I am willing to aim stupidly high. - Ian Curtis [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
  #16   Spotlight this post!  
Unread 24-10-2016, 21:14
ItsTheRealAce ItsTheRealAce is offline
Registered User
FRC #4592
 
Join Date: Oct 2016
Location: Pembroke Pines
Posts: 3
ItsTheRealAce is an unknown quantity at this point
Re: Reliability of Pixy Camera?

So the PixyCam has a pretty good resolution, though depending on the year may not work well enough, we actually got ours to work to about the mid-line. Also the boulders do seem to be a problem. Also to get a live feed from the pixycam it isn't very possible, yet. (I'm hoping pixy releases an FRC version becuase they have an FLL version.) Though, my team didn't need to use anything other then what is provided by Pixy, the Pixycam and the Pixymon, to interface. We also didn't have any brown out problems. I do believe the PixyCam is very worth the cost, because on-board processing is better than off-board processing, and to set-up something like you would: need a camera, a kangaroo computer, and led lights. All this can come to a much more hefty price than the PixyCam. (which my team paid $100 for are setup and the other setup I'm talking about is nearly $200 or more.)
Reply With Quote
  #17   Spotlight this post!  
Unread 24-10-2016, 21:20
s_forbes's Avatar
s_forbes s_forbes is online now
anonymous internet person
FRC #0842 (Falcon Robotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Phoenix, AZ
Posts: 1,128
s_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond repute
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by electroken View Post
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.
To add to that: 230 had one of the top scoring robots in the Carver division and was the first pick during alliance selections. Talking to them in the pits, I was surprised that such a simple targeting system could work so well. OP, you should bug them for details, as it can clearly be used reliably!

-not a programmer.
Reply With Quote
  #18   Spotlight this post!  
Unread 24-10-2016, 23:16
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?

After seeing how much great results people have had i started looking into the i2c communication. Any chance anyone has written the i2c communication for Labview?
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #19   Spotlight this post!  
Unread 25-10-2016, 07:34
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,357
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?

To teams that got the Pixy to work. Where did you shoot from? Did you shoot from the defenses? Did you have to be centered and perpendicular to the target? What did you do about getting 2 targets when positioned to the side and 2 targets were in view?
Reply With Quote
  #20   Spotlight this post!  
Unread 25-10-2016, 09:02
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: 168
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by Gdeaver View Post
To teams that got the Pixy to work. Where did you shoot from? Did you shoot from the defenses? Did you have to be centered and perpendicular to the target? What did you do about getting 2 targets when positioned to the side and 2 targets were in view?
We shot from anywhere along the outer works and from along the left edge of the field (as viewed from our driver station). Our preferred and most practiced spot was halfway between the low bar and the wall along the left side.

The 2 target problem turned out to be no problem at all. Using the digital/analog X interface the Pixy gave the X position for only the largest target it saw. In every case that target was the goal most perpendicular to our catapult, and therefore the goal we wanted to be aiming at.

For clarification, we used the two signals from the Pixy as follows:
The digital output told the robot when the Pixy saw what we taught it to look for anywhere within its visual field. At that point the robot removed the yaw authority from our driver and aimed itself. A large indicator on the driver station told our operator when the robot was aligned and ready to shoot. At that same time full drive authority was returned to our driver, just in case we needed to relocate due to being defended.
Reply With Quote
  #21   Spotlight this post!  
Unread 25-10-2016, 12:21
Harrison.Smith Harrison.Smith is offline
Business, CAD, Mechanical
no team
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2013
Location: Texas
Posts: 115
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 Gdeaver View Post
To teams that got the Pixy to work. Where did you shoot from? Did you shoot from the defenses? Did you have to be centered and perpendicular to the target? What did you do about getting 2 targets when positioned to the side and 2 targets were in view?
Mittens (1296) shot from most places, the best/favorite places were along the defenses in positions 3 and 4 for the safe shot, about 10ft past the low bar(when cycling) or between the batter and the defenses in front of the center goal. The driver was trained to know where the pixy would get confused (seeing two goals) and he would avoid those areas.
__________________
“Rest and be thankful.” — William Wadsworth

Team 1296: 2014 - 2016
Reply With Quote
  #22   Spotlight this post!  
Unread 26-10-2016, 00:01
AlexanderLuke's Avatar
AlexanderLuke AlexanderLuke is offline
Do More. Less Time.
FRC #0696 (The Circuit Breakers)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: La Crescenta
Posts: 58
AlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to behold
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by electroken View Post
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.
Two things:

1. What settings would you alter in order to get the best performance? Actual numbers on specific settings would be very helpful, I'm curious to know what you did to have the best performance possible.

2. What benefits did you find in changing the lens? What issues did you experience that made you look into changing the lens?


To anyone else who ran the Pixy this past year or have other experience, please feel free to chime in on your answers too.
__________________
2014-Present ~ Team 696: The Circuit Breakers - Student Leader and President, Drive Coach, Mechanical Designer
Reply With Quote
  #23   Spotlight this post!  
Unread 26-10-2016, 01:38
nardavin nardavin is offline
Registered User
FRC #2403 (Plasma Robotics)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Gilbert, Arizona
Posts: 28
nardavin is on a distinguished road
Re: Reliability of Pixy Camera?

Thanks everyone for all of the great responses!

I just have one other question. Is there a way to pull the raw footage from the camera in the case that more advanced vision processing is needed? It looks like it may be possible via a USB connection but I don't see anything specifically referring to it in the USB api docs.
__________________
Team 2403: Plasma Robotics

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



Reply With Quote
  #24   Spotlight this post!  
Unread 26-10-2016, 06:30
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: 168
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by AlexanderLuke View Post
Two things:

1. What settings would you alter in order to get the best performance? Actual numbers on specific settings would be very helpful, I'm curious to know what you did to have the best performance possible.

2. What benefits did you find in changing the lens? What issues did you experience that made you look into changing the lens?
The Pixy is primarily a color sensor, so there is a balance to be found between consistently seeing what you want it to see with the exclusion of everything else. There are settings within the Pixymon calibration program to teach it how close is close enough to be considered a target, camera exposure, white balance, etc. We had some control over potential interference sources because we were looking for the specific orange of our targeting LEDs. We chose orange because it was not present in the field lighting. Others use green, YMMV. I don't know specific calibration numbers, as the robot is hibernating at the school.

The lens choice was also made to reduce the potential sources for false targeting. Using the Pixymon program to see what the camera saw, the 51 degree lens gave us the best view of the field with the least view beyond it.

The system was not perfect and needed tweaking along the way. The scrolling LED display along the arena perimeter at champs was occasionally orange and had to be considered. We also found that the end wall diamond plate at champs was highly polished, far more so than at our district events. That caused or robot to shoot at its own reflection once in autonomous (funny in hindsight). After teaching it to turn 30 degrees to starboard before looking for a target that was no longer an issue.

The Pixy can actually be set to look for 7 simultaneous colors. Who knows, that may be useful this year.
Reply With Quote
  #25   Spotlight this post!  
Unread 26-10-2016, 07:56
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Reliability of Pixy Camera?

I haven't used the pixy cam on an FRC robot, but I purchased one and I'll be using it for another robot competition. It has worked well in my initial testing with controlled lighting.

As stated. It is really more of a color-proximity sensor, a highly optimized and specialized sensor that does one thing well. If that is useful in the game, make use of it. If not, it is actually a pretty good exercise to make your own pixy cam using a USB camera and a little bit of processing code and extend it to do some additional measurements on the particles. But at that point, there isn't much need to incorporate the pixy cam. Just build your own. It is a great learning opportunity.

The optimization is the hard part. But I'm pretty sure most can make it fast enough for what they need on the robot. We aren't needing to measure the wing-beat speed of an unladen European swallow, are we?

Greg McKaskle
Reply With Quote
  #26   Spotlight this post!  
Unread 26-10-2016, 08:06
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,357
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?

Ok, I think we may have to revisit the pixy cam. Our judgement may have been premature. We went with grip on a Pi2b and an IP camera. The programmers are working on Opencv on a PI3 with IP camera and a native Pi camera. The difference is color blob detection vs object detection. The Pixy cam is a much simpler solution. One can not have enough tools in the tool box for next season. It seams that machine vision is a requirement for FRC teams that aspire to play at a high level. Our best trained operator could aim and shoot at best in 7 to 8 seconds. Our auto aim and shoot was average of 3 to 4 seconds and more consistent.
Reply With Quote
  #27   Spotlight this post!  
Unread 06-11-2016, 23:51
Alsch Alsch is offline
Registered User
no team
 
Join Date: Oct 2014
Location: Underneath Canada
Posts: 5
Alsch is an unknown quantity at this point
Re: Reliability of Pixy Camera?

It's nice to see how far the CMUcam platform has come. I remember trying to fuss with the old rs232 ones years ago.
Has anyone looked into the OpenMV camera? I don't hear as much about it, but I've been using one for a while and it's pretty nice, I wonder how they compare with one another. (buying more than one $60+ dev board at a time is somewhat difficult to justify to oneself and ones wallet.)
Reply With Quote
  #28   Spotlight this post!  
Unread 07-11-2016, 09:38
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?

Quote:
Originally Posted by Alsch View Post
It's nice to see how far the CMUcam platform has come. I remember trying to fuss with the old rs232 ones years ago.
Has anyone looked into the OpenMV camera? I don't hear as much about it, but I've been using one for a while and it's pretty nice, I wonder how they compare with one another. (buying more than one $60+ dev board at a time is somewhat difficult to justify to oneself and ones wallet.)
do you know the updated rate for the OpenMC Camera
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #29   Spotlight this post!  
Unread 07-11-2016, 10:00
Xanawatt Xanawatt is offline
Registered User
FRC #1024
 
Join Date: May 2015
Location: Indianapolis, Indiana
Posts: 22
Xanawatt is an unknown quantity at this point
Re: Reliability of Pixy Camera?

Quote:
Originally Posted by Bpk9p4 View Post
After seeing how much great results people have had i started looking into the i2c communication. Any chance anyone has written the i2c communication for Labview?
I have it working for java, and would be glad to share. It might be along the same lines as labview?(maybe)
Reply With Quote
  #30   Spotlight this post!  
Unread 07-11-2016, 11:24
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?

Quote:
Originally Posted by Xanawatt View Post
I have it working for java, and would be glad to share. It might be along the same lines as labview?(maybe)
that would be great. Are you just getting the largest value or how do you have it working?
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
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 23:03.

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