params_lidar_raw.yaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # project name
  2. PROJECT_NAME: "lvi_sam"
  3. lvi_sam:
  4. # Topics
  5. pointCloudTopic: "/points_raw" # Point cloud data
  6. imuTopic: "/imu_raw" # IMU data
  7. # Heading
  8. useImuHeadingInitialization: true # if using GPS data, set to "true"
  9. # Export settings
  10. savePCD: false # https://github.com/TixiaoShan/LIO-SAM/issues/3
  11. savePCDDirectory: "/Downloads/LOAM/" # in your home folder, starts and ends with "/". Warning: the code deletes "LOAM" folder then recreates it. See "mapOptimization" for implementation
  12. # Sensor Settings
  13. N_SCAN: 16 # number of lidar channel (i.e., 16, 32, 64, 128)
  14. Horizon_SCAN: 1800 # lidar horizontal resolution (Velodyne:1800, Ouster:512,1024,2048)
  15. timeField: "time" # point timestamp field, Velodyne - "time", Ouster - "t"
  16. downsampleRate: 1 # default: 1. Downsample your data if too many points. i.e., 16 = 64 / 4, 16 = 16 / 1
  17. # IMU Settings
  18. imuAccNoise: 3.9939570888238808e-03
  19. imuGyrNoise: 1.5636343949698187e-03
  20. imuAccBiasN: 6.4356659353532566e-05
  21. imuGyrBiasN: 3.5640318696367613e-05
  22. imuGravity: 9.80511
  23. # Extrinsics (lidar -> IMU)
  24. extrinsicTrans: [0.0, 0.0, 0.0]
  25. extrinsicRot: [-1, 0, 0, 0, 1, 0, 0, 0, -1]
  26. extrinsicRPY: [0, 1, 0, -1, 0, 0, 0, 0, 1]
  27. # LOAM feature threshold
  28. edgeThreshold: 1.0
  29. surfThreshold: 0.1
  30. edgeFeatureMinValidNum: 10
  31. surfFeatureMinValidNum: 100
  32. # voxel filter paprams
  33. odometrySurfLeafSize: 0.4 # default: 0.4
  34. mappingCornerLeafSize: 0.2 # default: 0.2
  35. mappingSurfLeafSize: 0.4 # default: 0.4
  36. # robot motion constraint (in case you are using a 2D robot)
  37. z_tollerance: 1000 # meters
  38. rotation_tollerance: 1000 # radians
  39. # CPU Params
  40. numberOfCores: 4 # number of cores for mapping optimization
  41. mappingProcessInterval: 0.15 # seconds, regulate mapping frequency
  42. # Surrounding map
  43. surroundingkeyframeAddingDistThreshold: 1.0 # meters, regulate keyframe adding threshold
  44. surroundingkeyframeAddingAngleThreshold: 0.2 # radians, regulate keyframe adding threshold
  45. surroundingKeyframeDensity: 2.0 # meters, downsample surrounding keyframe poses
  46. surroundingKeyframeSearchRadius: 50.0 # meters, within n meters scan-to-map optimization (when loop closure disabled)
  47. # Loop closure
  48. loopClosureEnableFlag: true
  49. surroundingKeyframeSize: 25 # submap size (when loop closure enabled)
  50. historyKeyframeSearchRadius: 20.0 # meters, key frame that is within n meters from current pose will be considerd for loop closure
  51. historyKeyframeSearchTimeDiff: 30.0 # seconds, key frame that is n seconds older will be considered for loop closure
  52. historyKeyframeSearchNum: 25 # number of hostory key frames will be fused into a submap for loop closure
  53. historyKeyframeFitnessScore: 0.3 # icp threshold, the smaller the better alignment
  54. # Visualization
  55. globalMapVisualizationSearchRadius: 1000.0 # meters, global map visualization radius
  56. globalMapVisualizationPoseDensity: 10.0 # meters, global map visualization keyframe density
  57. globalMapVisualizationLeafSize: 1.0 # meters, global map visualization cloud density