shooter.set(speed);
}
+ // This getDistance() will return the distance using the lidar from the
+ // desired target during match.
+ public double getDistance() {
+ double distance = lidar.getDistance();
+ return distance;
+ }
+
public void stop() {
this.setSpeed(0.0);
}