https://github.com/siddharthpatelde/distance-to-next-edge
https://github.com/siddharthpatelde/distance-to-next-edge
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/siddharthpatelde/distance-to-next-edge
- Owner: siddharthpatelde
- Created: 2024-10-18T17:59:08.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T09:27:30.000Z (8 months ago)
- Last Synced: 2024-10-23T13:52:17.902Z (8 months ago)
- Language: C++
- Size: 31.4 MB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2D LIDAR Edge Detection using Raspberry Pi Pico
This project focuses on building a logic to calculate the distance to the next edge when a robot equipped with a 2D LIDAR sensor is placed on a table. The project leverages the **RPlidar.h** library and a **Raspberry Pi Pico** to work with the LIDAR sensor.
## Project Overview
I am currently in the process of refining this project, and so far, I've conducted several experiments to achieve the final goal—calculating the distance to the next edge detected by the LIDAR sensor.
For now, this project emphasizes:
- Building the logic for edge detection
- Working with the **RPlidar.h** library to process data from the 2D LIDAR sensor
- Using **Raspberry Pi Pico** as the hardware platform for the implementation### Library Sources
The **RPlidar.h** library can be found here: [RPLidar Arduino Library](https://github.com/robopeak/rplidar_arduino/tree/master)
The **Filters** library for data filtering can be found here: [Arduino Filters Library](https://github.com/edargelies/arduino_eq/tree/master/libraries/Filters)
## Project Workflow
Here’s the workflow for this project and the current status of each task:
### - **Continuous Data Retrieval from LIDAR (Important)** – **DONE** (click to play the video)
[](https://drive.google.com/file/d/1rfpvJtDQD67CvJ5mutH_rplSHh9WAc60/view?usp=drive_link)
**Circuit Diagram:**

### - **LIDAR Hole Processor (Not so important)** – **DONE** (click to play the video)
[](https://drive.google.com/file/d/1ZKafViBrdYzuwkXnPgtSrBZSwxWRYnGK/view?usp=drive_link)
[](https://drive.google.com/file/d/1vgB4sXewlVeRfvCux_HYK_wVaKtTB3Rp/view?usp=drive_link)
[](https://drive.google.com/file/d/1PlDPItqsNulzSENrVX-oHoexpWoK3kjX/view?usp=drive_link)
### - **Edge Detection using LIDAR (Important)** – **DONE** (click to play the video)
[](https://drive.google.com/file/d/1PsGvN44Rhcd295yuS7_6knRiBt5i1g9i/view?usp=drive_link)
### - **Calculating Distance to the Next Edge (Non-filtered)** – **DONE** (click to play the video)
[](https://drive.google.com/file/d/1WEArDvpSgvIyKT1jKW4AdApa847UnFev/view?usp=sharing)
[](https://drive.google.com/file/d/1mivxFB5GDWuHXXUXX1iQcaiiQBgAlYqu/view?usp=sharing)
### - **Calculating Distance to the Next Edge (filtered)** – **DONE** (click to play the video)
[](https://drive.google.com/file/d/1sBQNz1nN8M1QA3F-Lf8BnC2cx3LwU1n8/view?usp=sharing)
## Author
**Siddharth A. Patel**
GitHub: [siddharthpatelde](https://github.com/siddharthpatelde?tab=overview&from=2024-10-01&to=2024-10-17)