Interface OrinCameraIO

All Known Implementing Classes:
PhotonOrinIO

public interface OrinCameraIO
Hardware layer for one Orin camera: reads it into OrinCameraInputs, and carries the few commands the robot sends it. Nothing else touches the PhotonCamera.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final OrinCameraIO
    Replay / detached: reports nothing and ignores commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    setPipelineIndex(int index)
    Asks the camera to run a pipeline (issue #10, 11c: 0 = event, 1 = practice field).
    void
    Fills inputs with everything reported since the last call.
  • Field Details

    • NONE

      static final OrinCameraIO NONE
      Replay / detached: reports nothing and ignores commands.
  • Method Details

    • updateInputs

      void updateInputs(OrinCameraInputs inputs)
      Fills inputs with everything reported since the last call.
      Parameters:
      inputs - the inputs to overwrite
    • setPipelineIndex

      default void setPipelineIndex(int index)
      Asks the camera to run a pipeline (issue #10, 11c: 0 = event, 1 = practice field).
      Parameters:
      index - pipeline index