Quote:
Originally Posted by Merfoo
How would one program the LIDAR Sensor for use via DIO in Java?
|
Two possible methods:
- Use a low pass filter and read through analog (less programming but requires a resistor and capacitor connected to the output, or
- Directly measure the pwm pulse and convert the timing to distance (more programming, but the sensor just drops in and works)
I plan on eventually writing up a pwm based class due to the problems teams have had with this sensor and the onboard i2c port.