Giter VIP home page Giter VIP logo

ydlidar_gs2_python_loader's Introduction

YDLidar_GS2_Python_loader

使い方

venvによる仮想環境で下記の実行環境を構築し、python main.pyを実行してください。 また、matplotlibにてグラフ化する際にはmain.pyのnote: グラフ化して確認したい際にコメントアウト解除する。とメモされているコメントアウトをすべて解除してコードが通るようにしてください。

実行環境

下記環境で動作確認ができています。

python: Python 3.9.1
pip: pip 22.1.2

pip install -r requirement.txtでパッケージをインストールすれば一通り実行環境が組めます。

Raspberry piで動かしたい場合は

一応下記環境にて動作確認済みです。

RaspberryPi 4B 8GB model
[OS]
Name: Raspberry Pi OS with desktop
Release date: April 4th 2022
System: 64-bit
Kernel version: 5.15
Debian version: 11 (bullseye)

先にUARTの設定を実施する必要があるため、下記リンクを参考にUART0を使えるようにする。そして、main.pyの接続先のserialを/dev/serial0にしてpython main.pyを実行すると確認可能。

https://www.ingenious.jp/articles/howto/raspberry-pi-howto/gpio-uart/

License

Please see LICENSE.

ydlidar_gs2_python_loader's People

Contributors

henjin0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.