From 5494d46eaf7e35f09a979728e6410811a73ac7f9 Mon Sep 17 00:00:00 2001 From: Ace-Kat <92191466+Ace-Kat@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:16:17 -0800 Subject: [PATCH 1/3] Added documention on how to flash the orange pi and how to set up a static ip on the orange pi. --- .../subteams/software/photon-vision.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/charged-up-2023/subteams/software/photon-vision.md b/charged-up-2023/subteams/software/photon-vision.md index 5e7fc88..c7e5f08 100644 --- a/charged-up-2023/subteams/software/photon-vision.md +++ b/charged-up-2023/subteams/software/photon-vision.md @@ -15,6 +15,32 @@ For the limelight, head on over to the [PhotonVision Gitub Page](https://github. Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the limelight. Connect your computer to the micro-USB of the limelight. The computer cannot be a Windows 7 or Windows XP. MAKE SURE THE LIMELIGHT HAS NO POWER. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the limelight. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). +## Flash PhotonVision to OrangePi + +Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the OrangePi. Connect your sd card to your computer. The computer cannot be a Windows 7 or Windows XP. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the sd card. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). + +## Setting up Static IP on OrangePI + +On the OrangePI, do the following steps: + +1. Type ```sudo vim /etc/netplan/01-static-ip.yaml``` +2. Type +```yaml +network: + version: 2 + renderer: networkd + ethernets: + eth0: + dhcp4: no + addresses: + - 10.35.1.4/32 + routes: + - to: default + via: 10.35.1.1 +``` +3. Run ```sudo netplan apply``` +4. Restart the pi + ## Documentation Implement [these](https://docs.photonvision.org/en/latest/docs/programming/photonlib/getting-target-data.html) functions on your code. From 1bd96c34cfb2163bacf51e35474da844fa69dd09 Mon Sep 17 00:00:00 2001 From: Ace-Kat <92191466+Ace-Kat@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:20:13 -0800 Subject: [PATCH 2/3] Reverted back to original --- .../subteams/software/photon-vision.md | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/charged-up-2023/subteams/software/photon-vision.md b/charged-up-2023/subteams/software/photon-vision.md index c7e5f08..5e7fc88 100644 --- a/charged-up-2023/subteams/software/photon-vision.md +++ b/charged-up-2023/subteams/software/photon-vision.md @@ -15,32 +15,6 @@ For the limelight, head on over to the [PhotonVision Gitub Page](https://github. Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the limelight. Connect your computer to the micro-USB of the limelight. The computer cannot be a Windows 7 or Windows XP. MAKE SURE THE LIMELIGHT HAS NO POWER. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the limelight. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). -## Flash PhotonVision to OrangePi - -Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the OrangePi. Connect your sd card to your computer. The computer cannot be a Windows 7 or Windows XP. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the sd card. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). - -## Setting up Static IP on OrangePI - -On the OrangePI, do the following steps: - -1. Type ```sudo vim /etc/netplan/01-static-ip.yaml``` -2. Type -```yaml -network: - version: 2 - renderer: networkd - ethernets: - eth0: - dhcp4: no - addresses: - - 10.35.1.4/32 - routes: - - to: default - via: 10.35.1.1 -``` -3. Run ```sudo netplan apply``` -4. Restart the pi - ## Documentation Implement [these](https://docs.photonvision.org/en/latest/docs/programming/photonlib/getting-target-data.html) functions on your code. From abe2b00db36ace1ecb173ee5e801b2bb8cd1387c Mon Sep 17 00:00:00 2001 From: Ace-Kat <92191466+Ace-Kat@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:24:47 -0800 Subject: [PATCH 3/3] Added documention on how to flash photon vision on orangepi and how to set up a static ip on the orange pi --- .../subteams/software/photon-vision.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/charged-up-2023/subteams/software/photon-vision.md b/charged-up-2023/subteams/software/photon-vision.md index 5e7fc88..c7e5f08 100644 --- a/charged-up-2023/subteams/software/photon-vision.md +++ b/charged-up-2023/subteams/software/photon-vision.md @@ -15,6 +15,32 @@ For the limelight, head on over to the [PhotonVision Gitub Page](https://github. Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the limelight. Connect your computer to the micro-USB of the limelight. The computer cannot be a Windows 7 or Windows XP. MAKE SURE THE LIMELIGHT HAS NO POWER. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the limelight. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). +## Flash PhotonVision to OrangePi + +Use the [Balena Etcher](https://www.balena.io/etcher/) software to flash the image onto the OrangePi. Connect your sd card to your computer. The computer cannot be a Windows 7 or Windows XP. Then open Balena Etcher in adminstrator. After doing so, click the Flash From File button. Select the PhotonVision image you downloaded. Then click select target. Select the sd card. Then flash. After flashing, set up [PhotonVision pipeline](photon-vision-pipeline.md). + +## Setting up Static IP on OrangePI + +On the OrangePI, do the following steps: + +1. Type ```sudo vim /etc/netplan/01-static-ip.yaml``` +2. Type +```yaml +network: + version: 2 + renderer: networkd + ethernets: + eth0: + dhcp4: no + addresses: + - 10.35.1.4/32 + routes: + - to: default + via: 10.35.1.1 +``` +3. Run ```sudo netplan apply``` +4. Restart the pi + ## Documentation Implement [these](https://docs.photonvision.org/en/latest/docs/programming/photonlib/getting-target-data.html) functions on your code.