Skip to content

YDLIDAR/YDLidar-SDK

Repository files navigation

YDLIDAR

Table of Contents

  1. Table of Contents
  2. Introduction
  3. YDLidar SDK Communication Protocol
  4. Architecture
  5. Installation
  6. Documents
  7. Support
  8. Contact EAI

Introduction

YDLidar SDK is the software development kit designed for all YDLIDAR products. It is developed based on C/C++ following YDLidar SDK Communication Protocol, and provides easy-to-use C/C++, Python, C# style API. With YDLidar SDK, users can quickly connect to YDLidar products and receive Laser scan data.

YDLidar SDK consists of YDLidar SDK communication protocol, YDLidar SDK core, YDLidar SDK API, Linux/windows samples, and Python demo.

Prerequisites

  • Linux
  • Windows 7/10, Visual Studio 2015/2017(UTF-8 encoding)
  • C++11 compiler

Supported Languages

  • C / C++
  • Python
  • C#

YDLidar SDK Communication Protocol

YDLidar SDK communication protocol opens to all users. It is the communication protocol between user programs and YDLIDAR products. The protocol consists of control commands and data format. Please refer to the YDLidar SDK Communication Protocol for detailed information.

Architecture

YDLidar SDK provides the implementation of control commands and Laser scan data transmission, as well as the C/C++,Python API. The basic structure of YDLidar SDK is shown as below:

YDLidar SDK Architecture

Serial or network is used for communication between YDLidar SDK and LiDAR sensors. Please refer to the YDLidar SDK Communication Protocol for further information. LaserScan supports Laser Scan Data transmission, while Command handler receives and sends control commands. And the C++ API is based on Command and LaserScan Hander.

The YDLidar LiDAR sensors can be connected to host directly by serial or through the YDLidar Adapter board. YDLidar SDK supports both connection methods. When LiDAR units are connected to host directly by Serial, the host will establish communication with each LiDAR unit individually. And if the LiDAR units connect to host through Adapter board, then the host only communicates with the YDLidar Adapter board while the Adapter Board communicates with each LiDAR unit.

Installation

Documents

Support

You can get support from YDLidar with the following methods:

  • Send email to [email protected] with a clear description of your problem and your setup
  • Github Issues

Contact EAI

Development Path

If you have any extra questions, please feel free to contact us