}
// This getDistance() will return the distance using the lidar from the
- // desired target during match.
+ // desired target during match. This distance is returned in units of
+ // CENTIMETERS.
public double getDistance() {
- double distance = lidar.getDistance();
- return distance;
+ return lidar.getDistance();
}
public void stop() {