|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
You can also power the Pi via regular USB-to-micro-USB cable, plugging the USB end into the roboRIO.
|
|
#2
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Get an OS on an SD Card for the PI (Noobs or Raspbian)
https://www.raspberrypi.org/downloads/noobs/ https://www.raspberrypi.org/downloads/raspbian/ Load GRIP onto the Pi https://github.com/WPIRoboticsProjec...Raspberry-Pi-2 Figure out how to program the pi. Plug the USB camera into the pi |
|
#3
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Quote:
Quote:
|
|
#4
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
So I generate a pipeline class? How would I use the pi then?
|
|
#5
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Install Python and pynetworktables on the Pi. Then write a little helper script that starts on boot, imports your pipeline class from GRIP, calls "process" on it, then feeds the desired values into NetworkTables, making them available to the robot code on the roboRIO.
|
|
#6
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Quote:
p.s. sorry for so many questions |
|
#7
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
You run GRIP to create a pipeline to find what you're looking for, then generate code to put in the program you run on the pi.
|
|
#8
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Quote:
(We said we are going to get him another one). But yeah some researching told me to cut and strip a micro usb |
|
#9
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
I'd hate to see what you do to the chargers of people who aren't your friends.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|