在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wh200720041/ssl_slam2开源软件地址(OpenSource Url):https://github.com/wh200720041/ssl_slam2开源编程语言(OpenSource Language):C++ 97.4%开源软件介绍(OpenSource Introduction):SSL_SLAM2Lightweight 3-D Localization and Mapping for Solid-State LiDAR (Intel Realsense L515 as an example)SSL_SLAM. Similar to RTABMAP, SSL_SLAM2 separates the mapping module and localization module. Map saving and map optimization is enabled in the mapping unit. Map loading and localization is enabled in the localziation unit.This repo is an extension work ofThis code is an implementation of paper "Lightweight 3-D Localization and Mapping for Solid-State LiDAR", published in IEEE Robotics and Automation Letters, 2021 paper A summary video demo can be found at Video Modifier: Wang Han, Nanyang Technological University, Singapore Running speed: 20 Hz on Intel NUC, 30 Hz on PC 1. Solid-State Lidar Sensor Example1.1 Scene reconstruction example1.2 Localization with built map1.3 Comparison2. Prerequisites2.1 Ubuntu and ROSUbuntu 64-bit 18.04. ROS Melodic. ROS Installation 2.2. Ceres SolverFollow Ceres Installation. 2.3. PCLFollow PCL Installation. Tested with 1.8.1 2.4. GTSAMFollow GTSAM Installation. 2.5. Trajectory visualizationFor visualization purpose, this package uses hector trajectory sever, you may install the package by
Alternatively, you may remove the hector trajectory server node if trajectory visualization is not needed 3. Sensor SetupIf you have new Realsense L515 sensor, you may follow the below setup instructions 3.1 L5153.2 LibrealsenseFollow Librealsense Installation 3.3 Realsense_rosCopy realsense_ros package to your catkin folder
4. Build SSL_SLAM24.1 Clone repository:
4.2 Download test rosbagYou may download our recorded data: MappingTest.bag (3G) and LocalizationTest.bag (6G)if you dont have realsense L515, and by defult the file should be under home/user/Downloads unzip the file (it may take a while to unzip)
4.3 Map Buildingmap optimization and building
The map optimization is performed based on loop closure, you have to specify the loop clousre manually in order to trigger global optimization. To save map, open a new terminal and
Upon calling the serviece, the map will be automatically saved. It is recommended to have a loop closure to reduce the drifts. Once the service is called, loop closure will be checked. For example, in the rosbag provided, the loop closure appears at frame 1060-1120, thus, when you see "total_frame 1070" or "total_frame 1110" you may immediately type
Since the current frame is between 1060 and 1120, the loop closure will be triggered automatically and the global map will be optimized and saved 4.4 LocalizationType
If your map is large, it may takes a while to load 4.5 Parameters ExplanationThe map size depends on number of keyframes used. The more keyframes used for map buildin, the larger map will be. min_map_update_distance: distance threshold to add a keyframe. higher means lower update rate. min_map_update_angle: angle threshold to add a keyframe. higher means lower update rate. min_map_update_frame: time threshold to add a keyframe. higher means lower update rate. 4.6 RelocalizationThe relocalization module under tracking loss is still under development. You must specify the robot init pose w.r.t. the map coordinate if the starting position is not the origin of map. You can set this by
4.7 Running speedThe realsense is running at 30Hz and some computer may not be able to support such high processing rate. You may reduce the processing rate by skipping frames. You can do thid by setting the
1 implies no skip frames, i.e., 30Hz; implies skip 1 frames, i.e., 15Hz. For small map building, you can do it online. however, it is recommended to record a rosbag and build map offline for large mapping since the dense map cannot be generated in real-time. 5 Map Building with multiple loop closure places5.1 DatasetYou may download a larger dataset LargeMappingTest.bag (10G), and by defult the file should be under home/user/Downloads unzip the file (it may take a while to unzip)
5.2 Map BuildingTwo loop closure places appear at frame 0-1260 and 1270-3630, i.e., frame 0 and frame 1260 are the same place, frame 1270 adn 3630 are the same place. Run
open a new terminal, when you see "total_frame 1260", immediately type
when you see "total_frame 3630", immediately type again
6. CitationIf you use this work for your research, you may want to cite the paper below, your citation will be appreciated
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论