[hal] Add RobotController.getSerialNumber() (#4783)

This commit is contained in:
Ryan Blue
2022-12-09 00:58:55 -05:00
committed by GitHub
parent 69a66ec5ec
commit 5a52b51443
19 changed files with 292 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ public final class HALUtil extends JNIWrapper {
public static native int getFPGARevision();
public static native String getSerialNumber();
public static native long getFPGATime();
public static native int getHALRuntimeType();

View File

@@ -151,5 +151,9 @@ public class RoboRioDataJNI extends JNIWrapper {
public static native void setBrownoutVoltage(double brownoutVoltage);
public static native String getSerialNumber();
public static native void setSerialNumber(String serialNumber);
public static native void resetData();
}