Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
678961e
Websocket Stream Stats & Robustness Improvements (#605)
gerth2 Dec 1, 2022
ffd741e
Add curl (#618)
mdurrani808 Dec 2, 2022
b72f4ca
Update heap size for install script (#622)
mdurrani808 Dec 2, 2022
ec7bef7
Logging for NTDataPublisher (#560)
sarah-e-c Dec 2, 2022
3628bb3
aaaaa
mcm001 Dec 3, 2022
aeac0bf
bruhh
mcm001 Dec 3, 2022
bf066ed
sim photoncamera WIP. Builds and runs, tests still fail
gerth2 Dec 4, 2022
62944a2
fixups for broken testcase
gerth2 Dec 5, 2022
643db9c
Add check for packet of incorrect length (#629)
r4stered Dec 9, 2022
da1aaba
Add avahi daemon to install script (#625)
mdurrani808 Dec 9, 2022
70f698c
Merge branch 'master' into 2023-wpilib-update
shueja Dec 9, 2022
3c7c7d8
wip test update to beta 5 - still issues
gerth2 Dec 9, 2022
472cbae
Move native config into root build.gradle
mcm001 Dec 10, 2022
edcabb1
Move back into subproject test, like it should be
mcm001 Dec 10, 2022
61afde5
Working jni changes for photon-core test
mcm001 Dec 10, 2022
8128737
Fix photon core build! huzzah
mcm001 Dec 10, 2022
7639b09
Yeet
mcm001 Dec 10, 2022
c060646
Run formatter
mcm001 Dec 10, 2022
c383155
Merge remote-tracking branch 'chris/2023-wpilib-update-nt4-sim-shenan…
mcm001 Dec 10, 2022
1973b29
run spotless
mcm001 Dec 10, 2022
a3123b5
Update NTDataPublisher.java
mcm001 Dec 10, 2022
a1c234b
Update build.gradle
mcm001 Dec 10, 2022
c25c56f
Fix photonlib compilation errors
mcm001 Dec 11, 2022
b1f42fa
Potentially spam matrix lol
mcm001 Dec 11, 2022
0b9c3c1
Update main.yml
mcm001 Dec 11, 2022
7a7e2f5
Update main.yml
mcm001 Dec 11, 2022
7a9bd36
Update main.yml
mcm001 Dec 11, 2022
a1a09e1
Update main.yml
mcm001 Dec 11, 2022
6e5fffd
Update main.yml
mcm001 Dec 11, 2022
2b80b76
Update main.yml
mcm001 Dec 11, 2022
bdb2ec5
Update main.yml
mcm001 Dec 11, 2022
9c55520
fix path separator in main.yml windows fat jar
shueja Dec 11, 2022
92a0a0b
trying pathsep again
shueja Dec 11, 2022
c1982d5
Remove old apriltag libs and fix main
mcm001 Dec 11, 2022
9d1b267
Merge branch '2023-wpilib-update' of github.com:shueja-personal/photo…
mcm001 Dec 11, 2022
13a7ce7
Update Main.java
mcm001 Dec 11, 2022
93ee9a0
Add archive platform to shadowjar, update pi image name
mcm001 Dec 11, 2022
6d45089
Copy paste fixed apirltag classes
mcm001 Dec 11, 2022
9e469a4
Run format
mcm001 Dec 11, 2022
df54af2
pi dependencies updated, it's running on a pi now!
gerth2 Dec 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 47 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,40 @@ jobs:
if: ${{ failure() }}

photon-build-package:
needs: [photonclient-build, photon-build-all, photonserver-build-offline-docs, photonlib-build-host, photonlib-build-docker]
needs: [photonclient-build, photon-build-all, photonserver-build-offline-docs]

strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
artifact-name: Win64
architecture: x64
arch-override: none
- os: macos-latest
artifact-name: macOS
architecture: x64
arch-override: none
- os: ubuntu-latest
artifact-name: Linux
architecture: x64
arch-override: none
- os: macos-latest
artifact-name: macOSArm
architecture: x64
arch-override: macarm64
- os: ubuntu-latest
artifact-name: LinuxArm32
architecture: x64
arch-override: linuxarm32
- os: ubuntu-latest
artifact-name: LinuxArm64
architecture: x64
arch-override: linuxarm64

# The type of runner that the job will run on.
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
name: "Build fat JAR - ${{ matrix.artifact-name }}"

steps:
# Checkout code.
Expand All @@ -276,6 +306,11 @@ jobs:
- run: |
rm -rf photon-server/src/main/resources/web/*
mkdir -p photon-server/src/main/resources/web/docs
if: ${{ (matrix.os) != 'windows-latest' }}
- run: |
del photon-server\src\main\resources\web\*.*
mkdir photon-server\src\main\resources\web\docs
if: ${{ (matrix.os) == 'windows-latest' }}

# Download client artifact to resources folder.
- uses: actions/download-artifact@v3
Expand All @@ -292,23 +327,28 @@ jobs:
# Build fat jar for both pi and everything
- run: |
chmod +x gradlew
./gradlew photon-server:shadowJar --max-workers 1
./gradlew photon-server:shadowJar --max-workers 1 -Ppionly
./gradlew photon-server:shadowJar --max-workers 2 -PArchOverride=${{ matrix.arch-override }}
if: ${{ (matrix.arch-override != 'none') }}
- run: |
chmod +x gradlew
./gradlew photon-server:shadowJar --max-workers 2
if: ${{ (matrix.arch-override == 'none') }}

# The image will only pull the Pi JAR in
- name: Generate image
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && (matrix.artifact-name) == 'LinuxArm32' }}
run: |
chmod +x scripts/generatePiImage.sh
./scripts/generatePiImage.sh

# Upload final fat jar as artifact.
- uses: actions/upload-artifact@v3
with:
name: jars
name: ${{ matrix.artifact-name }}-jar
path: photon-server/build/libs

- uses: actions/upload-artifact@v3
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' && (matrix.artifact-name) == 'LinuxArm32' }}
with:
name: image
path: photonvision*.xz
Expand Down
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ plugins {
id "edu.wpi.first.NativeUtils" version "2023.8.2" apply false
id "edu.wpi.first.wpilib.repositories.WPILibRepositoriesPlugin" version "2020.2"
id "org.hidetake.ssh" version "2.10.1"
id 'edu.wpi.first.WpilibTools' version '1.0.0'
}

import org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency;

allprojects {
repositories {
mavenCentral()
Expand All @@ -22,8 +25,8 @@ allprojects {
apply from: "versioningHelper.gradle"

ext {
wpilibVersion = "2023.1.1-beta-4-66-g8f40264"
opencvVersion = "4.6.0-3"
wpilibVersion = "2023.1.1-beta-6"
opencvVersion = "4.6.0-4"
joglVersion = "2.4.0-rc-20200307"
pubVersion = versionString
isDev = pubVersion.startsWith("dev")
Expand All @@ -38,8 +41,11 @@ ext {
}

println("Building for archs " + jniPlatforms)

}

wpilibTools.deps.wpilibVersion = wpilibVersion

spotless {
java {
toggleOffOn()
Expand Down
1 change: 1 addition & 0 deletions photon-client/src/components/common/cv-image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
>
</template>


<script>
export default {
name: "CvImage",
Expand Down
2 changes: 1 addition & 1 deletion photon-client/src/components/common/cv-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</v-row>
</div>
</template>
s

<script>
import TooltippedLabel from "./cv-tooltipped-label";

Expand Down
Loading