large_velodyne.yaml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. common:
  2. lid_topic: "/points_raw"
  3. imu_topic: "/imu_correct"
  4. #NCLT
  5. # lid_topic: "/points_raw"
  6. # imu_topic: "/imu_raw"
  7. #KITTI
  8. # lid_topic: "/kitti/velo/pointcloud"
  9. # imu_topic: "/kitti/oxts/imu"
  10. #RS LiDar
  11. # lid_topic: "/rslidar"
  12. # imu_topic: "/imu"
  13. time_sync_en: false # ONLY turn on when external time synchronization is really not possible
  14. preprocess:
  15. lidar_type: 2 # 1 for Livox serials LiDAR, 2 for Velodyne LiDAR, 3 for ouster LiDAR,
  16. scan_line: 16
  17. scan_rate: 10 # only need to be set for velodyne, unit: Hz,
  18. blind: 1
  19. point_filter_num: 1
  20. mapping:
  21. fov_degree: 180
  22. det_range: 100.0
  23. extrinsic_est_en: true # true: enable the online estimation of IMU-LiDAR extrinsic,
  24. extrinsic_T: [ 0, 0, 0]
  25. extrinsic_R: [ 1, 0, 0,
  26. 0, 1, 0,
  27. 0, 0, 1]
  28. IMU:
  29. freq: 500
  30. g: 9.804
  31. acc_cov: 3.9939570888238808e-04
  32. gyr_cov: 1.5636343949698187e-04
  33. b_acc_cov: 6.4356659353532566e-05
  34. b_gyr_cov: 3.5640318696367613e-05
  35. integration_cov: 0.02
  36. integration_length: 5
  37. publish:
  38. path_en: true
  39. scan_publish_en: true # false: close all the point cloud output
  40. dense_publish_en: false # false: low down the points number in a global-frame point clouds scan.
  41. scan_bodyframe_pub_en: false # true: output the point cloud scans in IMU-body-frame
  42. pcd_save:
  43. pcd_save_en: false
  44. interval: -1 # how many LiDAR frames saved in each pcd file;
  45. # -1 : all frames will be saved in ONE pcd file, may lead to memory crash when having too much frames.
  46. # voxel filter paprams
  47. odometrySurfLeafSize: 0.2 # default: 0.4 - outdoor, 0.2 - indoor
  48. mappingCornerLeafSize: 0.2 # default: 0.2 - outdoor, 0.1 - indoor
  49. mappingSurfLeafSize: 0.2 # default: 0.4 - outdoor, 0.2 - indoor
  50. # robot motion constraint (in case you are using a 2D robot)
  51. z_tollerance: 1000 # meters
  52. rotation_tollerance: 1000 # radians
  53. # CPU Params
  54. numberOfCores: 4 # number of cores for mapping optimization
  55. mappingProcessInterval: 0.15 # seconds, regulate mapping frequency
  56. # Surrounding map
  57. surroundingkeyframeAddingDistThreshold: 1.0 # meters, regulate keyframe adding threshold
  58. surroundingkeyframeAddingAngleThreshold: 0.2 # radians, regulate keyframe adding threshold
  59. surroundingKeyframeDensity: 2.0 # meters, downsample surrounding keyframe poses
  60. surroundingKeyframeSearchRadius: 50.0 # meters, within n meters scan-to-map optimization (when loop closure disabled)
  61. # Loop closure
  62. loopClosureEnableFlag: true # use loopclousre or not
  63. loopClosureFrequency: 4.0 # Hz, regulate loop closure constraint add frequency
  64. surroundingKeyframeSize: 50 # submap size (when loop closure enabled)
  65. historyKeyframeSearchRadius: 1.5 # meters, key frame that is within n meters from current pose will be considerd for loop closure
  66. historyKeyframeSearchTimeDiff: 30.0 # seconds, key frame that is n seconds older will be considered for loop closure
  67. historyKeyframeSearchNum: 20 # number of hostory key frames will be fused into a submap for loop closure
  68. historyKeyframeFitnessScore: 0.3 # icp threshold, the smaller the better alignment
  69. # Visualization
  70. globalMapVisualizationSearchRadius: 1000.0 # meters, global map visualization radius
  71. globalMapVisualizationPoseDensity: 10 # meters, global map visualization keyframe density
  72. globalMapVisualizationLeafSize: 1.0 # meters, global map visualization cloud density
  73. # visual iktree_map
  74. visulize_IkdtreeMap: true
  75. # visual iktree_map
  76. recontructKdTree: true
  77. # Export settings
  78. locate_mode: true
  79. locate:
  80. init_pos: [0,0,0]
  81. init_rpy: [0,0,0]
  82. savePCD: true # https://github.com/TixiaoShan/LIO-SAM/issues/3
  83. savePCDDirectory: "/doc/ros_ws/map/large_vlp" # in your home folder, starts and ends with "/". Warning: the code deletes "LOAM" folder then recreates it. See "mapOptimization" for implementation