Go to Post Why dress to impress when you can speak to impress? - Joe Matt [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 28-01-2017, 11:27
Speckles04 Speckles04 is offline
The Dankest Memer
FRC #2977 (Sir Lancer Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2009
Location: La Crescent, MN
Posts: 6
Speckles04 is an unknown quantity at this point
Cool Using Pixy with Java and roboRIO

Hi, James from 2977 here.
I was wondering if anyone would be willing to share some knowledge of PixyCam with us? We just got one and are wondering how to implement it with Java, and as well how to connect it to the roboRIO. If anyone knows anything, help would be appreciated!
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2017, 14:34
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 677
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Using Pixy with Java and roboRIO

There are many ways to connect the Pixy camera to RoboRIO: SPI, I2C, Serial, Analog etc. How to implement code to work with Pixy depends on how you connect the camera. The easiest way is to connect it via Analog if you only want to get an idea on whether your one target is on your left or right. If you want info on multiple targets, you may have to go with any of the digital serial interface. That may require you to write a "driver" to communicate with it.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 09:38
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Using Pixy with Java and roboRIO

I've never used it, but you may want to check this out.

https://github.com/Team5593/pixy
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2017, 18:04
Speckles04 Speckles04 is offline
The Dankest Memer
FRC #2977 (Sir Lancer Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2009
Location: La Crescent, MN
Posts: 6
Speckles04 is an unknown quantity at this point
Re: Using Pixy with Java and roboRIO

Ok so, I found some code (I used the post by user "2B || !2B"), but I have no idea how to make this show in the SmartDahsboard. Our team is planning to aim with camera tracking on the reflective tape, and I would like to know how I import/use the signature I want from the camera, and how I could put this into the SmartDahsboard.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2017, 21:11
loafdog loafdog is offline
Registered User
AKA: Maciej
FRC #2876 (DevilBotz)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Burlington, MA
Posts: 39
loafdog is on a distinguished road
Re: Using Pixy with Java and roboRIO

For testing we just dumped all the signatures to smart dashboard. See
https://github.com/BHSRobotix/Steamw...ision.java#L55

We just called textPixy from teleopPeriodic.

You can find what other teams are doing with pixy by searching on github, for example: https://github.com/search?utf8=%E2%9C%93&q=frc+pixy&type=Code&ref=sea rchresults
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 04:12.

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