background image

 

Copyright 2023 EAI All Rights Reserved 

8 / 12 

2.1

 

Device Connect 

Under Linux, the interconnection process between TEA and PC is consistent with the operation 

under Windows, see Device Connection under Window. 

2.2

 

Compile and Install YDLidar-SDK 

Ydlidar_ros_driver depends on the YDLidar-SDK library. If the user has never installed the 

YDLidar-SDK library, or it has expired, the user must first install the YDLidar-SDK library. If the 

user has the latest version of YDLidar-SDK installed, please skip this step, then go to the next step.   

 

2.3

 

ROS Driver Installation 

1)

 

Cloning GitHub's ydlidar_ros_driver package: 

 

2)

 

Build the Ydlidar_ros_driver software package: 

 

3)

 

Package environment Settings: 

 

Note: add a permanent workspace environment variable. It will be very convenient if ROS 

environment variables are automatically added to your bash session every time you start a new shell:  

 

4)

 

Verify that your package path is set, echo the ROS_PACKAGE_PATH variable. 

 

$git clone 

https://github.com/YDLIDAR/YDLidar-SDK.git

 

$cd YDLidar-SDK/build 

$ cmake .. 

$ make 

$ sudo make install 

$ sudo make install 

$ git clone 

https://github.com/YDLIDAR/ydlidar_ros_driver.git

 

TIA_ros/src/ydlidar_ros_driver

 

 

$ cd ydlidar _ws 

$ catkin_make 

$ source ./devel/setup.sh 

 

$ echo "source ~/ydlidar_ws/devel/setup.bash" >> ~/.bashrc 

$ source ~/.bashrc 

$ echo $ROS_PACKAGE_PATH 

 

Summary of Contents for YDLIDAR TEA

Page 1: ...Shenzhen EAI Technology Co Ltd DOC 01 13 005502 www ydlidar com YDLIDARTEA USERMANUALALPHA...

Page 2: ...t 2 Start Scanning 4 Data Storage 5 Playback and Recording display Mean and Standard Deviation 6 Wave Filtering 6 Network Configuration 7 2 LINUX ROS OPERATION 7 2 1 Device Connect 8 2 2 Compile and I...

Page 3: ...le to the network port on the PC set the device and PC to be on the same network segment The DC port is connected to the power socket through the 12V 1A power adapter 1 2 Network setting TEA Initial n...

Page 4: ...es EaiLidarTest a point cloud data visualization software for TEA real time scanning Users can use this software to visually observe the TEA scanning map YDLIDAR provides TEA real time point cloud dat...

Page 5: ...IG 5 YDLIDAR TEA PARAMETER CONFIGURATION Lidar parameters configuration double click on red box area and refer to the following figure for TEA parameters FIG 6 YDLIDAR TEA PARAMETERS CONFIGURATION Aft...

Page 6: ...to start scanning and display the environment point cloud The angle and distance information of the red line position will be displayed in the upper left corner unit mm Click Stop button to stop it as...

Page 7: ...values of a total of 100 points on the left and right sides of the mouse lock position FIG 10 SHOWS THE LIGHT INTENSITY HISTOGRAM Data Storage During lidar scanning click in the Bottom right corner o...

Page 8: ...nu FIG 12 RECORD AND PLAY The main window is displayed as follows To record lidar data click to start recording and click to stop recording In non scanning mode click to start play The play process is...

Page 9: ...d UDP port After changing any of these configurations you need to click the Confirm button to save the settings After the device restarts the settings will take effect FIG 15 NETWORK CONFIGURATION 2 L...

Page 10: ...r Installation 1 Cloning GitHub s ydlidar_ros_driver package 2 Build the Ydlidar_ros_driver software package 3 Package environment Settings Note add a permanent workspace environment variable It will...

Page 11: ...w 2 5 RVIZ Viewing Scan Results Run the launch file and open rviz to view the TEA scan results as shown in the following figure Note Take G4 as an example by default If you use other lidars change the...

Page 12: ...ctory where the corresponding launch file is located and edit the file as shown in the figure FIG 17 TEA LAUNCH FILE Note For more information about the file contents please refer to https github com...

Page 13: ...Copyright 2023 EAI All Rights Reserved 11 12 FIG 18 YDLIDAR TG COORDINATES DEFINITION...

Page 14: ...Copyright 2023 EAI All Rights Reserved 12 12 3 Revise Date Version Content 2023 08 10 0 1 0 The 1st release...

Reviews: