budryerson / TFMini-Plus

Arduino library for the Benewake TFMini-Plus and TFMini-S LiDAR distance sensors.
66 stars 23 forks source link

TF Mini Plus Raspberry Pi library #25

Closed mvstimpson closed 2 years ago

mvstimpson commented 3 years ago

Any chance you have a library for Raspberry Pi for the TF Mini Plus? Getting checksum errors and not sure if there's a code problem or a sensor problem.

budryerson commented 3 years ago

Sorry, no, I do not yet have a Raspberry Pi library. Someday soon, though. How are you getting checksum errors?

budryerson commented 3 years ago

Please take a look at the Python module, TFMini-Plus_python. This version is for serial mode only. It's not distributed to PyPI yet. I'd appreciate your feedback.

budryerson commented 3 years ago

There are two Python TFMini-Plus libraries now on PyPI: tfmplus and tfmpi2c.

For example, in the command line:

python -m pip install tfmplus

And in your python script, something like this:

import tfmplus as tfmP   # Import the 'tfmplus' module and
from tfmplus import *    # the command and parameter definitions

Let me know how that works for you.

Bud Ryerson San Francisco

mvstimpson commented 3 years ago

Thank you for supporting this! As of right now we have moved on to the TF03 instead of the TFMini Plus. It's much more expensive, but we need the longer distance, plus the 03 works in rain and snow.

Michael Stimpson

Principal Partner – Triple Talon, LLC

@. @.>

www.tripletalon.com

480.208.3658

On Wed, Jun 9, 2021 at 2:05 PM Bud Ryerson @.***> wrote:

There are two Python TFMini-Plus libraries now on PyPI: tfmplus and tfmpi2c.

For example, in the command line:

python -m pip install tfmplus

And in your python script, something like this:

import tfmplus as tfmP # Import the 'tfmplus' module and from tfmplus import * # the command and parameter definitions

Let me know how that works for you.

Bud Ryerson San Francisco

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/budryerson/TFMini-Plus/issues/25#issuecomment-858057527, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASV7KJUCHGBTULSDFE2XTCTTR7CRRANCNFSM4W5I5BWA .