Class JetsonInputs

java.lang.Object
frc.robot.subsystems.vision.JetsonInputs
All Implemented Interfaces:
LoggableInputs

public class JetsonInputs extends Object implements 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 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

      public String jpegDecoder
    • jpegHardwareOff

      public boolean jpegHardwareOff
    • jpegChecksOk

      public long jpegChecksOk
    • jpegChecksDiffer

      public long jpegChecksDiffer
    • throttle

      public String throttle
      Why the Jetson is slowing itself down: None, OVER-CURRENT, HIGH TEMP (...), ...
    • overCurrentEvents

      public long overCurrentEvents
    • settingsJson

      public String settingsJson
    • uptimeSeconds

      public double uptimeSeconds
      Seconds since the Jetson booted; a drop means it rebooted.
    • cpuUtilPct

      public double cpuUtilPct
    • ramUtilPct

      public double ramUtilPct
    • diskUsableSpace

      public double diskUsableSpace
    • excludedTagsActive

      public long[] excludedTagsActive
      The Jetson's saved excluded tags plus the robot's (excludedTagsActive).
    • rewindRecording

      public boolean rewindRecording
    • rewindSession

      public String rewindSession
    • rewindFreeGB

      public double rewindFreeGB
    • rewindFramesDropped

      public long rewindFramesDropped
    • fieldMapHash

      public String fieldMapHash
      Canonical hash of the field map the Jetson loaded and solves with; empty until reported.
    • fieldMapName

      public String fieldMapName
    • fieldMapLoadedAt

      public double fieldMapLoadedAt
      When the Jetson loaded it, Jetson unix seconds.
    • fieldMapError

      public String fieldMapError
      Why the Jetson could not load the robot's map, or empty.
  • Constructor Details

    • JetsonInputs

      public JetsonInputs()
  • Method Details