공식 자습서지도 제작자 프로세스를 설치 한 후 시작하지 못했습니다. 종료 코드 -11
공식 가방 파일 : https://google-cartographer-ros.readthedocs.io/en/latest/demos.html
위대하신 하나님의 대답은 pcl 버전 문제로 인한 segfault입니다 : https://ask.csdn.net/questions/3354161 pcl 1.7을 설치하는 데 문제가 없습니다.
내 설치가 pcl1.8인지 확인합니다.
먼저 원본 pcl을 제거하십시오.
sudo rm -r /usr/include/pcl-1.8 /usr/share/pcl-1.8 / usr / bin / pcl * / usr / lib / libpcl *
sudo apt-get libpcl-dev 제거
공식 github에서 다운로드
cd ~
git clone [email protected]:PointCloudLibrary/pcl.git
cd pcl
git checkout -b pcl-1.7.2
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j2
sudo make install
libpcl-dev 재설치
sudo apt 업데이트
sudo apt 업그레이드
sudo apt-get 설치 ros-melodic-perception ros-melodic-perception-pcl ros-melodic-pcl-ros ros-melodic-pcl-conversions libpcl-dev
참고 : libpcl-dev와 관련이 없을 수도 있습니다. .
그런 다음 성공적으로 시작하십시오.