![]() |
Re: LIDAR Sensor has arrived!
From the products google groups
https://groups.google.com/forum/#!to...3d/ebRaHl6sylM Paul, That's very exciting... in the course of looking at the forum I found Innovation First International... I grew up fairly near Greenville, TX. Will be joining the forum to follow along... have been getting into ROS.org and robotics in my hobby-time. @Polycarbonate - the way the sensor acquires readings is by sending a bunch of pulses out and then capturing what comes back, combining those into a "correlation record" and then measuring the distance between the crossing point in the reference signal and the next strongest signal (or if you ask for it, the second strongest). There are a few surfaces and conditions it can't "see" but in my experimental experience it can detect most surfaces from one angle or another. Sometimes with reflective and clear surfaces you can get unexpected results, but that's where that second reference comes in handy. You can use it to see a reflection or an object on the far side of a clear object if you are picking up your strongest signal from the clear object. Pg. 17 "Signal Acquisition process" through pg 22 "Processing" of our manual goes into detail about how the sensor records information: http://pulsedlight3d.com/pages/docs Let me know if you have any more questions very happy to help! We're excited about what the chiefdelphi.com community is going to do with LIDAR-Lite! - Austin |
Re: LIDAR Sensor has arrived!
Quote:
|
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.
|
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.
|
Re: LIDAR Sensor has arrived!
Quote:
We have ordered one. |
Re: LIDAR Sensor has arrived!
Quote:
For now, works perfectly on the MXP, thanks again! |
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. |
Re: LIDAR Sensor has arrived!
Quote:
Quote:
|
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 |
Re: LIDAR Sensor has arrived!
Quote:
|
Re: LIDAR Sensor has arrived!
Thanks, so I just use kMXP instead of kOnBoard and connect to the expansion port bottom left 2 pins for sda and scl?
|
Re: LIDAR Sensor has arrived!
Quote:
Correct. I still had my sensor power pins plugged into the I2C power and ground ports, which seem to work (for what it's worth). Also, if you execute myLidar.start(); in your init area or constructor, you can access myLidar.getDistance() in both autonomous and teleOp methods and allow it to run its own thread, which will help avoid bogging down the rest of your code (because the update() method includes delay timers up to ~10ms to write and read). |
Re: LIDAR Sensor has arrived!
Quote:
|
Re: LIDAR Sensor has arrived!
Quote:
|
Re: LIDAR Sensor has arrived!
Quote:
Using lidar.start() in the teleopInit and calling lidar.getDistance() in teleopPeriodic which is returning zero. Am I missing anything? Thanks! |
| All times are GMT -5. The time now is 04:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi