|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
LIDAR Sensor has arrived!
Just wanted to share that a new LIDAR (laser radar/rangefinder) is out on the market from "PulsedLight3D" for $90 -- Class I laser so it's FIRST legal. Just arrived today in the mail, and I hooked it up to my Arduino:
Did some initial testing via I2C, seems to be very accurate between ~20cm and 650cm (as far as I could test it tonight without finding a larger room), 0.5 deg beam width Here's a snapshot of my Serial output with distance in cm (~100 Hz samples averaged and output at 5 Hz), sitting on my desk facing up to the ceiling. ![]() http://pulsedlight3d.com/ We're going to have fun with this! Last edited by seg9585 : 06-01-2015 at 01:41. |
|
#2
|
|||||
|
|||||
|
Re: LIDAR Sensor has arrived!
We got ours today as well. Similar results to your tests. Very excited about this little guy.
|
|
#3
|
|||||
|
|||||
|
Re: LIDAR Sensor has arrived!
Being a geospatial geek, this is TOTALLY COOL!!!!!!!
|
|
#4
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
This might be a newbie question, but this can be connected to the robo-rio via the I2C and programmed in labview to give us the distance. Right. I haven't done much work dealing with I2C and am not sure what to expect.
![]() |
|
#5
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
Quote:
I will be coding up a Java Class this week to interface with I2C on the roboRio, which I'd be happy to share. |
|
#6
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
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 |
|
#7
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
Quote:
|
|
#8
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
Strange, it has worked for me. I've been using the mxp port so far, so I'll test with the on board one.
|
|
#9
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
Right now it seems that only the MXP port is supported with the LIDAR, I'm still investigating, but using the same power source and code, only the MXP I2C port will return data.
|
|
#10
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
Quote:
We have ordered one. Last edited by Poseidon5817 : 11-01-2015 at 10:22. |
|
#11
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
Quote:
For now, works perfectly on the MXP, thanks again! |
|
#12
|
||||
|
||||
|
Re: LIDAR Sensor has arrived!
I might get one of these to poke around with. Our programming team is talking crazy talk for autonomous, and I don't know that the drive train will have quite the precision they require to squeak in under 15 seconds.
Anyone tried this out on diamond plate? I bet more than my team has felt a twinge of failure with ultrasonics when moving from the lab to the field. |
|
#13
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
Quote:
Quote:
|
|
#14
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
Quote:
I tried using it something like this (don't have the exact code in front of me...): Where variables are declared:However, 0.0 is only ever printed out to the Riolog. (I also tried having the myLidar.start() and myLidar.stop() inside of teleopInit and disabledInit respectively. Thanks in advance, DavisC |
|
#15
|
|||
|
|||
|
Re: LIDAR Sensor has arrived!
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|