Class DutyCycleEncoderSim

java.lang.Object
edu.wpi.first.wpilibj.simulation.DutyCycleEncoderSim

public class DutyCycleEncoderSim
extends Object
Class to control a simulated duty cycle encoder.
  • Constructor Details

  • Method Details

    • set

      public void set​(double turns)
      Set the position in turns.
      Parameters:
      turns - The position.
    • setDistance

      public void setDistance​(double distance)
      Set the position.
      Parameters:
      distance - The position.