File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,15 @@ jobs:
19
19
- uses : pguyot/arm-runner-action@HEAD
20
20
id : install_deps
21
21
with :
22
- image_additional_mb : 1500
22
+ image_additional_mb : 3000
23
23
bind_mount_repository : true
24
24
base_image : https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.30/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz
25
25
commands : |
26
+ useradd polaris -b /home
27
+ usermod -a -G sudo polaris
28
+ mkdir /home/polaris
29
+ chown -R polaris /home/polaris
30
+ echo "polaris:polaris" | chpasswd
26
31
git clone https://github.com/3015RangerRobotics/polaris.git /opt/polaris
27
32
cd /opt/polaris
28
33
chmod +x setup.sh
Original file line number Diff line number Diff line change 1
1
# Install pre-reqs
2
2
sudo apt update
3
3
sudo apt install -y python3-pip
4
- sudo apt install -y --no-install-recommends gstreamer1.0-gl gstreamer1.0-opencv gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer-plugins-base1.0-dev libgstreamer1.0-0 libgstreamer1.0-dev
4
+ sudo apt install -y --no-install-recommends python3-pil gstreamer1.0-gl gstreamer1.0-opencv gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer-plugins-base1.0-dev libgstreamer1.0-0 libgstreamer1.0-dev
5
5
6
6
# Build OpenCV w/ gstreamer
7
7
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/opencv/opencv-python.git
@@ -15,7 +15,6 @@ pip wheel . --verbose
15
15
sudo pip install opencv_python* .whl
16
16
17
17
# Install other python deps
18
- sudo apt install -y python3-pil
19
18
sudo pip install --extra-index-url https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2024/simple/ robotpy
20
19
21
20
# Cleanup
You can’t perform that action at this time.
0 commit comments