Raspberry Pi 4 LIDAR Data Visualization | Python, Plotly, Websockets, D3.js

Опубликовано: 27 Октябрь 2024
на канале: datasith
18,705
298

• Your support helps me post videos more frequently:
  / acrobotic  
https://www.paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC: 1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
• Find me on:
  / acrobotic  
  / acrobotic  
  / acrobotic  
==========
• My shops:
https://acrobotic.com/shop
https://amazon.com/shops/acrobotic
==========
• Description:
In this video tutorial I use a Raspberry Pi 4 to read data from an inexpensive 360-degree LADR/LiDAR (YDLIDAR X4) via USB. Once I'm able to get the distance measurements, I move on to designing a web interface in Python that allows me to visualize the data in a polar chart. I use the JavaScript library D3.js/Plotly (https://plot.ly/javascript/) for the client-side chart, and the Flask web micro-framework for setting up the server side of the web app. Central to this is the use of Websockets for exchanging the LiDAR data between server and client. I use the Flask-SocketIO module for this purpose.
==========
• Related vids:
Set up the linux-based Raspbian Operating System:    • Raspberry Pi 4 as a Linux PC  
Set up Raspbian for access without a keyboard, monitor, and even a Wi-Fi connection:    • Raspberry Pi 4 SSH Setup With and Wit...   (complete)    • Raspberry Pi 4 Headless Setup | First...   (summary)
Getting Started with Websockets:    • ESP8266 Web Server and Websockets Usi...  
==========
• Project parts:
YDLIDAR X4 10m 360-degree Scanning LiDAR
https://amzn.to/2L2KZLe (affiliate)
Vilros Raspberry Pi Zero W Starter Kit:
https://amzn.to/2TBTJfw (affiliate)
SanDisk 32GB MicroSD Card:
https://amzn.to/2K49ybI (affiliate)
ACROBOTIC Raspberry Pi GPIO Label:
https://amzn.to/2Z8FTSZ (affiliate)
==========
• Project code:
https://github.com/acrobotic/Ai_Demos...
YDLIDAR Python module:
https://github.com/lakshmanmallidi/Py...
==========
• Music:
Epidemic Sound (https://epidemicsound.com). Standard YouTube License.
==========
#RaspberryPi #RaspberryPi4 #LADAR