Package edu.wpi.first.wpilibj.simulation
Class UltrasonicSim
java.lang.Object
edu.wpi.first.wpilibj.simulation.UltrasonicSim
public class UltrasonicSim extends Object
-
Constructor Summary
Constructors Constructor Description UltrasonicSim(Ultrasonic ultrasonic)
Constructor. -
Method Summary
Modifier and Type Method Description void
setRangeInches(double inches)
void
setRangeMeters(double meters)
void
setRangeValid(boolean valid)
-
Constructor Details
-
UltrasonicSim
Constructor.- Parameters:
ultrasonic
- The real ultrasonic to simulate
-
-
Method Details