Class SkewVisionConnector

    • Constructor Detail

      • SkewVisionConnector

        public SkewVisionConnector​(java.lang.String subTableName,
                                   edu.wpi.first.networktables.NetworkTableInstance inst)
        Parameters:
        subTableName - name of the subtable to use in the connector
        inst - instance of NetworkTables
    • Method Detail

      • skewPID

        public edu.wpi.first.wpilibj.PIDSource skewPID()
        Returns:
        A PID source tracking the skew of the target
      • next

        protected void next​(edu.wpi.first.networktables.NetworkTable table,
                            java.lang.String key,
                            edu.wpi.first.networktables.NetworkTableEntry entry,
                            edu.wpi.first.networktables.NetworkTableValue value,
                            int flags)
        evaluate and process the results in NetworkTables to my lastResult
        Specified by:
        next in class AbstractVisionConnector<SkewVisionResult>
        Parameters:
        table - NetworkTable to get values from
        key - Key of the entry that triggered the Listener
        entry - Entry that was updated
        value - the new Value
        flags - Listener flags (created, updated, removed, etc)