Add support for object detection on Rubik Pi 3 (#2005)

This commit is contained in:
Sam Freund
2025-08-09 10:02:55 -05:00
committed by GitHub
parent e23df8c9a4
commit 9277960018
26 changed files with 545 additions and 70 deletions

View File

@@ -55,7 +55,7 @@ public enum Platform {
"Linux AARCH 64-bit with QCS6490",
Platform::getLinuxDeviceTreeModel,
"linuxarm64",
true,
false,
OSType.LINUX,
true), // QCS6490 SBCs
LINUX_AARCH64(
@@ -173,7 +173,6 @@ public enum Platform {
String.format("Unknown Platform. OS: %s, Architecture: %s", OS_NAME, OS_ARCH);
private static final String UnknownDeviceModelString = "Unknown";
// TODO: add rubik, but waiting for more info on architecture
public static Platform getCurrentPlatform() {
String OS_NAME;
if (Platform.OS_NAME != null) {
@@ -272,7 +271,7 @@ public enum Platform {
}
private static boolean isRubik() {
return fileHasText("/proc/device-tree/model", "Rubik");
return fileHasText("/proc/device-tree/model", "RUBIK");
}
static String getLinuxDeviceTreeModel() {