YDLIDAR G2 Manuel utilisateur

G2
USER MANUAL
Shenzhen EAI Technology Co.,Ltd.
DOC #:01.13.002502
www.ydlidar.com

Copyright 2015-2021 EAI
CONTENTS
1YDLIDAR G2 LIDAR DEVELOPMENT KIT..................................... 1
1.1 Development Kit ................................................................................. 1
2USAGE UNDER WINDOWS............................................................ 2
2.1 Device Connection .............................................................................2
2.2 Driver Installation ...............................................................................3
2.3 Evaluation Software Usage................................................................5
2.3.1 Start Scanning...................................................................................................6
2.3.2 Data Storage......................................................................................................7
2.3.3 Scan Frequency................................................................................................7
2.3.4 Display Mean and Standard Deviation............................................................7
2.3.5 Display Intensity Value.....................................................................................8
2.3.6 Play and Record................................................................................................9
2.3.7 Debug...............................................................................................................10
2.3.8 Filter.................................................................................................................10
3LINUX ROS OPERATION.............................................................. 11
3.1 Device Connection ........................................................................... 11
3.2 Compile and Install YDLidar-SDK.................................................... 11
3.3 ROS Driver Installation.....................................................................11
3.4 Run the ydlidar_ros_driver .............................................................. 12
3.5 RVIZ View Scan Results...................................................................12
3.6 Modify Scan Angle............................................................................13
4CAUTION....................................................................................... 14
4.1 Ambient Temperature.......................................................................14
4.2 Ambient Lighting .............................................................................. 14
4.3 Power Supply.................................................................................... 15
5REVISE.......................................................................................... 16

Copyright 2015-2021 EAI
1 / 16
1YDLIDAR G2 LIDAR DEVELOPMENT KIT
The development kit of YDLIDAR G2 lidar (hereinafter referred to as G2) is an
accessory tool provided for performance evaluation and early development of the G2.
Through the G2 development kit, and with the evaluation software, users can observe point
cloud data scanned by G2 on your environment or development on the SDK.
1.1 Development Kit
The G2 development kit has the following components:
FIG 1 YDLIDAR G2 DEVELOPMENT KIT
CHART 1 YDLIDAR G2 LIDAR DEVELOPMENT KIT DESCRIPTION
Item
Qty.
Description
G2 lidar
1
Standard version of the G2 Lidar, with internal integrated motor
drive, which can realize motor stall control and motor control
USB Type-C
Cable
1
Use with USB adapter board to connect G2 and PC. USB cable is
both a power supply cable and a data cable
USB Adapter
Board
1
USB to UART, convenient for G2 and PC to quickly interconnect.
Meanwhile, it supports serial port DTR signal to control G2 motor
rotation and stop. In addition, a Micro USB power interface
(PWR) for auxiliary power supply is provided
Note: USB Adapter board has two USB TYPE C interface:USB_DATA、USB_PWR.
USB_DATA: Data power supply multiplexing interface. In most cases, this interface can be used
to meet power and communication requirements.
USB_PWR: Auxiliary power supply interface. The USB interface of some development platforms
has weak current drive capability. At this time, auxiliary power supply can be used.
G2 Lidar
USB Type-C Cable
USB Adapter Board

Copyright 2015-2021 EAI
2 / 16
2USAGE UNDER WINDOWS
2.1 Device Connection
When G2 is evaluated and developed under windows, G2 and PC need to be
interconnected. The specific process is as follows:
FIG 2 YDLIDAR G2 DEVICE CONNECTION STEP 1
FIG 3 YDLIDAR G2 DEVICE CONNECTION STEP 2
Connect the adapter board with G2 first, then connect the USB cable to the USB port of
the adapter board and the PC. Note that the Type-C interface of the USB cable is
connected to the USB_DATA of the USB interface board, and the idle mode is used after
G2 is powered on. The motor does not rotate.
The drive current of the USB interface of some development platforms or PC is not
sufficient. G2 need to be connected to the auxiliary power supply of +5V, otherwise the lidar
will be abnormal.

Copyright 2015-2021 EAI
3 / 16
FIG 4 YDLIDAR G2 AUXILIARY POWER SUPPLY
2.2 Driver Installation
To evaluate and develop the G2 under Windows, you need to install the serial port
driver of the USB adapter board. The USB adapter board of this kit adopts CP2102 chip to
realize serial port (UART) to USB signal conversion. Its driver can be downloaded from our
official website or downloaded from the official website of Silicon Labs.
https://www.ydlidar.com/dowfile.html?id=97
http://cn.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
After decompressing the driver package, run the CP2102's Windows driver installation
file (exe file under CP210x_VCP_Windows). Please select the 32-bit version (x86) or 64-bit
version (x64) installation program according to the version of the windows operating
system.
FIG 5 YDLIDAR G2 DRIVER VERSION SELECTION
Double-click the exe file and follow the prompts to install it.
Development
Platform
5V Power
Supply

Copyright 2015-2021 EAI
4 / 16
FIG 6 YDLIDAR G2 DRIVER INSTALLING
After the installation is complete, you can right-click on [My Computer] and select
[Properties]. On the open [System] screen, select [Device Manager] from the left menu to
access the [Device Manager].
Expand [Port] to see the serial port name corresponding to the identified USB adapter,
that is, the driver installation is successful. The following figure shows COM3. (Note that the
port must be checked in case of G2 and PC interconnection).
FIG 7 YDLIDAR G2 DRIVER INSTALLATION CHECK

Copyright 2015-2021 EAI
5 / 16
2.3 Evaluation Software Usage
YDLIDAR provides G2 real-time scanning point cloud data visualization software
LidarViewer. Using this software, users can intuitively observe the scanning effect of G2.
YDLIDAR provides G2 real-time point cloud data and real-time scanning frequency. At the
same time, G2 version information can be read, and the scanned data can be saved offline
to an external file for further analysis.
Before using the YDLIDAR software, make sure that the G2 USB adapter board serial
port driver is installed successfully, and interconnect the G2 with the USB port of the PC.
Run the evaluation software: LidarViewer.exe, select the corresponding serial port number
and model number. Meanwhile, users could choose language and software type on the top
right corner (top right corner).
FIG 8 YDLIDAR G2 EVALUATION SOFTWARE
If there is no G2 model, please refer to the following parameter to add G2 model:
FIG 9 YDLIDAR G2 PARAMETER CONFIGURATION

Copyright 2015-2021 EAI
6 / 16
If the connection is correct, you will see the following screen:
FIG 10 POINTCLOUD VIEWER INTERFACE
2.3.1 Start Scanning
Click to start scanning and display the environment point cloud, the upper left corner
displays the angle & distance information of the red line position (unit: mm). Click to stop
it, as shown below:
FIG 11 LIDAR SCANNING POINT CLOUD DISPLAY

Copyright 2015-2021 EAI
7 / 16
2.3.2 Data Storage
During lidar scanning, click [File] in the main menu, select [Export to Excel], and save
point cloud data according to the prompts. Then the system will save the point cloud
information scanned in a circle in Excel format.
FIG 12 SAVE DATA
2.3.3 Scan Frequency
is used to adjust the scanning frequency (motor speed) of the lidar. Click this control,
the system will pop up a frequency setting bar, which can be automatically adjusted
according to requirements. When the lidar is in the scan state, you need to click the scan
control again after adjusting the scan frequency. The speed can be adjusted by dragging
the control, the control of scanning frequency is shown in the figure below
FIG 13 SCAN FREQUENCY ADJUSTMENT
2.3.4 Display Mean and Standard Deviation
Click [Tools] in the main menu, then select [Mean And STD] - [View].
FIG 14 YDLIDAR G2 DISPLAY MEAN AND STANDARD DEVIATION
Choose one according to your needs, move the mouse to the test position, right-click
the pop-up menu, and select [Lock Mouse Tracking].

Copyright 2015-2021 EAI
8 / 16
FIG 15 LOCK MOUSE TRACKING
2.3.5 Display Intensity Value
Click [Data] in the main menu and select [Intensity histogram].
FIG 16 DISPLAY INTENSITY VALUE
The main window is displayed as follows, the intensity values of a total of 100 points on
the left and right of the mouse lock position.
Table des matières
Autres manuels YDLIDAR Instrument analytique
Manuels Instrument analytique populaires d'autres marques

EXTOL PREMIUM
EXTOL PREMIUM 8820043 Instructions d'installation et d'utilisation

RIDGID
RIDGID SeeSnake Compact Manuel utilisateur

Teledyne
Teledyne 3000PA Manuel utilisateur

Olympus
Olympus IPLEX FX Series Manuel utilisateur

Bosch
Bosch GLM 50 C Professional Manuel utilisateur

Reflecta
Reflecta DigiEndoscope Manuel utilisateur












