|
Re: LIDAR Sensor has arrived!
Quote:
Originally Posted by tech2077
In case anyone is interested, I wrote up a java class for this, you can use the start/stop functions to use the built in updater Timer, or use the update function to only poll distance when needed.
LIDAR.java
|
tech2077, are you having any luck with this code? When I attempt to run I get zero distance data. Also, the i2c.read() function returned "true" (aborted). I'm passing in Port.kOnBoard and the sensor is plugged into the I2C port on the roboRio
__________________
My FIRST legacy:
Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
|