Class JetsonInputs
java.lang.Object
frc.robot.subsystems.vision.JetsonInputs
- All Implemented Interfaces:
LoggableInputs
The Jetson Orin's own topics, as an AdvantageKit input: board health (issue #10, 9a and the
throttle addition), Rewind status (4, 7a), the Jetson's settings (11a) and the active
excluded-tag list (11b). Logged under
/Vision/Jetson/.... NaN / -1 / empty until first
published.-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoubledoubledoublelong[]The Jetson's saved excluded tags plus the robot's (excludedTagsActive).doubleWhy the Jetson could not load the robot's map, or empty.Canonical hash of the field map the Jetson loaded and solves with; empty until reported.doubleWhen the Jetson loaded it, Jetson unix seconds.doubledoublelong+1 each second while PhotonVision runs.longlongbooleanlongdoubledoublelongdoublebooleandoubledoubleWhy the Jetson is slowing itself down: None, OVER-CURRENT, HIGH TEMP (...), ...doubledoubleSeconds since the Jetson booted; a drop means it rebooted. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
heartbeat
public long heartbeat+1 each second while PhotonVision runs. -
gpuLoadPct
public double gpuLoadPct -
cpuTempC
public double cpuTempC -
gpuTempC
public double gpuTempC -
socTempC
public double socTempC -
tjTempC
public double tjTempC -
fanRpm
public double fanRpm -
powerW
public double powerW -
cpuGpuPowerW
public double cpuGpuPowerW -
socPowerW
public double socPowerW -
jpegDecoder
-
jpegHardwareOff
public boolean jpegHardwareOff -
jpegChecksOk
public long jpegChecksOk -
jpegChecksDiffer
public long jpegChecksDiffer -
throttle
Why the Jetson is slowing itself down: None, OVER-CURRENT, HIGH TEMP (...), ... -
overCurrentEvents
public long overCurrentEvents -
settingsJson
-
uptimeSeconds
public double uptimeSecondsSeconds since the Jetson booted; a drop means it rebooted. -
cpuUtilPct
public double cpuUtilPct -
ramUtilPct
public double ramUtilPct -
diskUsableSpace
public double diskUsableSpace -
excludedTagsActive
public long[] excludedTagsActiveThe Jetson's saved excluded tags plus the robot's (excludedTagsActive). -
rewindRecording
public boolean rewindRecording -
rewindSession
-
rewindFreeGB
public double rewindFreeGB -
rewindFramesDropped
public long rewindFramesDropped -
fieldMapHash
Canonical hash of the field map the Jetson loaded and solves with; empty until reported. -
fieldMapName
-
fieldMapLoadedAt
public double fieldMapLoadedAtWhen the Jetson loaded it, Jetson unix seconds. -
fieldMapError
Why the Jetson could not load the robot's map, or empty.
-
-
Constructor Details
-
JetsonInputs
public JetsonInputs()
-
-
Method Details
-
toLog
- Specified by:
toLogin interfaceLoggableInputs
-
fromLog
- Specified by:
fromLogin interfaceLoggableInputs
-