|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
To wire the raspberry pi 3, we use a micro usb that is plugged into the VRM 5v/2a right? And an ethernet cord into the left radio port (the one closest to the power plug)?
After all of that is wired, then what? What do I need to install? Also I'm using C++, or at least I want to. |
|
#2
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
The port on the radio that is nearest to power, is for directly connecting to the roboRIO. The far port is for connecting *something else* (Pi, Kangaroo, switch, radio kiosk when programming the competition key).
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
||||
|
||||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Quote:
Quote:
|
|
#6
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
So I generate a pipeline class? How would I use the pi then?
|
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
||||
|
||||
|
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.
|
|
#10
|
|||
|
|||
|
Re: Raspberry Pi 3 Wiring and Programming for Vision
Quote:
p.s. sorry for so many questions |
|
#11
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|