01-20-2018 10:32 PM
Hello,
Im curious to know if you had success with this project? I am trying to make an autonomous RC car that will follow strips of colored tape for a school project. I was planning on using the PIXY camera to teach it the tape to follow, but was wondering if I would be able to interface with LabView and the MyRIO? Anything advice helps.
Thanks
01-22-2018
09:36 AM
- last edited on
04-08-2025
04:29 PM
by
Content Cleaner
Hi pcurls23,
I don't know a lot about PIXY cameras, but the myRIO should be able to interface with any data assuming it isn't too fast, or too many channels, which shouldn't be an issue. The myRIO 1900 User Guide and Specifications shows that the max sample rate is 500 kS/s, which seems fine.
My only concern would be, would the myRIO somehow be on the car itself (battery-power?) or would it wirelessly transmit its data?
Let me know!
01-22-2018 10:19 AM
Hi Timothy,
The myRIO would be onboard the car along with the battery.
Thanks for reaching out!
Pat
01-23-2018 01:44 PM
You shouldn't have any troubles using the myRIO and LabVIEW, then! I can't speak to the specific project, but if you have SSP, you can always reach out to us and make a service request if you have specific question.
Best,
02-07-2019 05:49 PM
Hi Tim, hopefully my question wasn’t already addressed in some other thread, if so point the way. We are a FRC team that recently obtained a Pixy2 cam. We are beginners with labview and we’re having a hard time finding any sample code. Any ideas?
02-08-2019 06:11 AM
I have used the Arduino to tie the PIXY2 to the RIO com port. I followed the directions from the PIXY website/wiki pages and it all worked. Of course you have to write the LabVIEW VISA read com port to get the data then parse it out as you need it. I suggest only using the last line of data from each read as that would be the most recent. Configure your com port to ignore end of character so you pull all the data on every read - it spits out a lot that's good - high res.
PIXY website and at the bottom is the Wiki link. https://pixycam.com/pixy2/
02-20-2019 02:38 PM
Charmed Labs released an FRC LabVIEW driver for Pixy2: https://github.com/charmedlabs/Pixy2LabVIEW