@@ -0,0 +1,508 @@
+package com.lasarobotics.ftc.sensor.modernrobotics;%0A%0Aimport com.qualcomm.robotcore.hardware.OpticalDistanceSensor;%0A%0A/**%0A * Implements the Core Optical Distance Sensor with advanced methods%0A */%0Apublic class Distance %7B%0A    OpticalDistanceSensor o;%0A%0A    public Distance(OpticalDistanceSensor sensor)%0A    %7B%0A        this.o = sensor;%0A    %7D%0A%0A    public void update(OpticalDistanceSensor sensor)%0A    %7B%0A        this.o = sensor;%0A    %7D%0A%0A    public double getDistance()%0A    %7B%0A        return o.getLightDetected();%0A    %7D%0A%7D

Create basic Distance sensor program