發表文章

目前顯示的是 2月 9, 2020的文章

maplab(1) - Installation and VIO mode

圖片
1. Install ROS 2. Install OpenCV [optional] * Installing libjasper-dev [4] * For OpenCV3.2: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_PRECOMPILED_HEADERS=OFF -DOPENCV_GENERATE_PKGCONFIG=ON -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.2.0/modules .. 3. Running ROVIOLI in VIO mode => A save folder with map information will be created as following picture. 4. Map management (1) rosrun maplab_console maplab_console (2) load --map_folder <path/to/the/save_folder> (3) v *select --map_key my_empty_map: select the load map you want. 5. Inspecting and visualizing a map (1) rosrun rviz rviz (2) Add data source in rviz:  Marker from /vi_map_edges/viwls , PointCloud2 from vi_map_landmarks . *Modify the CMakeLists.txt file in the opencv3_catkin folder is suggested if you use the virtual machine for development. (make -j8 -> make -j2) *Adjust the bigger amount of memory is also recommended [5], or you will see the c