Github에 있는 loam_velodyne을 실행해보며 앞으로 공부할 slam에 어떻게 쓰일지 생각해보는 시간 갖도록 할게요~
LOAM이라는 알고리즘은 다음의 링크에서 관련 논문 요약 및 내용을 참고하세요!
https://saint-swithins-day.tistory.com/35
LOAM : Lidar Odometry And Mapping in real-time 변역/요약 (실시간 라이다 주행 거리 측정 및 지도화)
LOAM : Lidar Odometry And Mapping in real-time (실시간 라이다 주행 거리 측정 및 지도화)[1] Ji Zhang and Sanjiv Singh, 2014 <목차> 논문요약 I. 서론 II. 관련 작업들 III. 표기법 및 작업 설명 IV. 전체적..
saint-swithins-day.tistory.com
※ 모든 과정은 Github를 참고하였습니다.
Loam velodyne : LOAM Open Source 실행하기
실행환경
PC : Lenovo의 Legion y530 1060
OS : UBUNTU 18.04 AMD (듀얼부팅)
ROS : melodic
Catkin Tools 를 통한 Build 코드
$ cd ~/catkin_ws/src/
$ git clone https://github.com/laboshinl/loam_velodyne.git
$ cd ~/catkin_ws
$ catkin_make -DCMAKE_BUILD_TYPE=Release
$ source ~/catkin_ws/devel/setup.bash
ROSLAUNCH 파일 실행
빌드가 완료되면 로스런치파일을 실행시켜주세요.
$ roslaunch loam_velodyne loam_velodyne.launch
ROSBAG 파일 실행
링크를 클릭하여서 라이다 로깅파일을 받아주세요. Download 폴더에서 rosbag을 통해서 기록된 data들을 publish 해주세요.
$ rosbag play ~/Downloads/nsh_indoor_outdoor.bag
오류 발생 시
오류가 발생할 수 있습니다. 로스백을 실행시키면서 registration 관련 문제가 생길 경우 다음과 같이 해주세요.
loam_velodyne/CMakeLists.txt 에서 다음의 코드를 지워주세요.
add_definitions( -march=native )


rqt_graph
데이터가 어떻게 이동하고 있는지 그래프로 쉽게 확인 할 수 있습니다.
$ rqt_graph

[참고문헌]
https://github.com/laboshinl/loam_velodyne
laboshinl/loam_velodyne
Laser Odometry and Mapping (Loam) is a realtime method for state estimation and mapping using a 3D lidar. - laboshinl/loam_velodyne
github.com
http://wiki.ros.org/loam_velodyne
loam_velodyne - ROS Wiki
Only released in EOL distros: hydro indigo hydro: Documentation generated on November 11, 2014 at 11:25 AM (doc job).indigo: Documentation generated on November 10, 2014 at 01:32 PM (doc job). The code has been removed from the public domain. The techn
wiki.ros.org
https://pcl.gitbook.io/tutorial/part-0/part00-chapter01
chapter01 : PCL & PCD란 (100%)
pcl.gitbook.io
'Autonomous Vehicle > LiDAR : Point Cloud' 카테고리의 다른 글
[ROS PCL] 포인트 클라우드 포인트 추출하고 군집화 하기 (차선 추출 및 Euclidean Distance Clustering) (0) | 2020.08.19 |
---|---|
[ROS PCL] 포인트 클라우드 ROI(Region of Interest) 설정하기 (4) | 2020.08.16 |
[ROS PCL] 포인트 클라우드 회전변환행렬을 통한 Rotation 하기 : Using a matrix to transform a point cloud (0) | 2020.08.16 |
ROS PCL : Voxelize 포인트 클라우드 라이브러리를 이용하여 voxelize 하기 (0) | 2020.08.04 |
Ouster Lidar : OS1-64 우분투 ROS 환경에서 설정하기 (0) | 2020.07.30 |