I forwarded Mr. Patrick Poirier’s test and report for Benewake Inexpensive LiDAR for drones/UAV/UAS, which works with Ardupilot. Pls check below details.
" Hello,
Benewake, TFMINI LIDAR works Ardupilot, you need to:
A) Change mode to text output : The command of pix format output is 42 57 02 00 00 00 04 06
B) Modify this line on the LightWare serial driver https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Ran…
You have to replace ‘\r’ with ‘\n’
Hello
Thanks for posting this simple experiment .
Unfortunately the TFMINI is missing resolution within this mode, because its pushing decimetric values instead of cm or mm.
There was an experimental driver written for ardupilot but the short distance error pattern - reporting erroneous values up to 60 cm when reading under 30 cm- makes it unfit for landing.
Hi,Patrick. I hope you think it’s ok that I list your test here. Thank you for your attention and reply.
TFmini outputs the ASCLL code value in pix mode in meter units not in decimeters. And this is caused by different TFmini version you got.
TFmini is divided into cm value output and mm value output, the two output modes can be converted to each other, but the resolution is cm level. When pix mode, the unit is m, and resolution is cm. So it’s better to input the command in cm level unit.
For short distance error issue, new version TFmini has better performance.
@Siya
Can you detail the command lines to change resolution ? Its not published anywhere and I dont want to experiment sending random command making the unit interlock
How can we upgrade firmware, I have 2 units making the same error pattern and they come from RobotShop
Hi,Patrick. I could send you the command lines by email or you are welcome to add Skype lymulanqf for support. The command lines can not be published yet. You’ll get support and well use the TFmini.
Well… thats a screen capture at 115 kbaud of the sensor on the table looking at ceiling.
The unit is millimetric and the ‘‘pix’’ format showned above is centimetric
I got the manual and the app. set the mission planner config up but no go. going to go over everything in the morning. curious if it should be running newer firmware and if so how to upgrade it
When and where did you buy the TFmini?May I known the number of TFmini?If your TFmini is the LAST version,you don’t need to upgrade it.Just please marked the check in the “pix mode” box with the APP,if it doesn’t work,please tell me.
Seems to work fine. I notice that when ever I start the app the pix mode
is not checked and when I connect to the com port it remains unchecked.
If I put it into Pixmode the graph stops working.
If Pixmode is a setting that it should retain I have no clue how to get
it to save, there is no write function and the send command has no
effect that I can see.