horizon.yaml 3.9 KB

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