スキップしてメイン コンテンツに移動

Fast LOAM (FLOAM) install (ROS noetic)

Fast LOAM (Lidar Odometry And Mapping)
https://github.com/AGauto/floam.git

 

Wang, H., Wang, C., Chen, C. L., & Xie, L. (2021, September). F-loam: Fast lidar odometry and mapping. In 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (pp. 4390-4396). IEEE.

https://arxiv.org/pdf/2107.00822.pdf



hpc@hpc-ubuntu:~$ mkdir -p ~/catkin_floam/src
hpc@hpc-ubuntu:~$ cd catkin_floam/src/
hpc@hpc-ubuntu:~/catkin_floam/src$ git clone https://github.com/AGauto/floam.git
Cloning into 'floam'...
remote: Enumerating objects: 213, done.
remote: Total 213 (delta 0), reused 0 (delta 0), pack-reused 213
Receiving objects: 100% (213/213), 26.01 MiB | 4.86 MiB/s, done.
Resolving deltas: 100% (127/127), done.
hpc@hpc-ubuntu:~/catkin_floam/src$ sudo apt-get install ros-noetic-hector-trajectory-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  ros-noetic-hector-map-tools ros-noetic-hector-nav-msgs
The following NEW packages will be installed:
  ros-noetic-hector-map-tools ros-noetic-hector-nav-msgs ros-noetic-hector-trajectory-server

hpc@hpc-ubuntu:~/Downloads/ceres-bin$ sudo apt install libceres-dev

#error PCL requires C++14 or above
https://github.com/PointCloudLibrary/pcl/issues/2968

change code of CMakeLists.txt
set(CMAKE_CXX_FLAGS "-std=c++14")

set(CMAKE_CXX_FLAGS "-std=c++14")



hpc@hpc-ubuntu:~/catkin_floam$ catkin_make
Base path: /home/hpc/catkin_floam
Source space: /home/hpc/catkin_floam/src
Build space: /home/hpc/catkin_floam/build
Devel space: /home/hpc/catkin_floam/devel
Install space: /home/hpc/catkin_floam/install
...
[100%] Linking CXX executable /home/hpc/catkin_floam/devel/lib/floam/floam_odom_estimation_node
[100%] Built target floam_odom_estimation_node



roslaunch floam floam.launch

roslaunch floam floam_mapping.launch

 


 

コメント

このブログの人気の投稿

[참고] ROS kinetic에서 WebCam 사용하기 (Ubuntu 16.04)

Reference: 1. https://github.com/bosch-ros-pkg/usb_cam/issues/53  2. http://zumashi.blogspot.jp/2016/12/ros-kinetic-usb-cam.html  3. http://cafe.naver.com/openrt/5963 위의 사이트들을 참고하여 ROS Kinetic에서 Logitech WebCam C270의 동작을 확인했습니다. $ cd ~/catkin_ws/src $ git clone https://github.com/bosch-ros-pkg/usb-cam.git $ cd .. $ catkin_make WebCam test $ roscore $ rosrun usb_cam usb_cam_node $ rosrun image_view image_view image:=/usb_cam/image_raw $ rosrun rviz rviz 1) By display type>rviz>image 2) Image topic: /usb_cam/image_raw --> 왼쪽 하단과 같이 WebCam이 잘 동작하는 것을 확인했습니다.

[vscode] TImeout waiting for debugger connection

이제까지 잘 동작하던 비주얼 스튜디오 코드가 위와 같은 에러 메세지를 내면서 갑자기 디버깅이 안되서 인터넷을 검색한 결과.. vscode의 User Setting에서 검색창에 python.terminal.activateEnvironment을 입력하여 true로 설정되어 있는 값을 false로 변환하면 된다. 

Anaconda을 이용하여 ROS + Tensorflow 함께 사용하기

-- CUDA, cuDNN 버전확인 https://stackoverflow.com/questions/41714757/how-to-find-cuda-version-in-ubuntu/42122965 $ nvcc --version cuda8.0, cudnn6.0 -- 아나콘다 python2.7 버전 인스톨 https://www.anaconda.com/download/#linux python3.x이랑 ROS 같이 써보려고 했는데, 아직 실력이 부족해서 그런지 실패.. $ bash Anaconda2-5.3.0-Linux-x86_64.sh $ source ~/.bashrc $ python -V Python 2.7.15 :: Anaconda, Inc. $ conda create -n tf14 pip python=2.7 $ source activate tf14 -- ROS 관련 패키지 인스톨 (tf14) $ pip install --upgrade pip (tf14) $ pip install -U rosinstall msgpack empy defusedxml netifaces --CUDA, cuDNN, CPU/GPU을 사양에 맞춰서 tensorflow download https://github.com/mind/wheels#mkl (tf14) $ pip install tensorflow-1.4.0-cp27-cp27mu-linux_x86_64.whl 잘 설치가 되었는지 Hello, tensorflow 실행 (tf14) $ python Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> i