params_camera_raw.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %YAML:1.0
  2. # Project
  3. project_name: "lvi_sam"
  4. #common parameters
  5. imu_topic: "/imu_raw"
  6. image_topic: "/camera/image_raw"
  7. point_cloud_topic: "lvi_sam/lidar/deskew/cloud_deskewed"
  8. # Lidar Params
  9. use_lidar: 1 # whether use depth info from lidar or not
  10. lidar_skip: 3 # skip this amount of scans
  11. align_camera_lidar_estimation: 1 # align camera and lidar estimation for visualization
  12. # lidar to camera extrinsic
  13. lidar_to_cam_tx: 0.05
  14. lidar_to_cam_ty: -0.07
  15. lidar_to_cam_tz: -0.07
  16. lidar_to_cam_rx: 0.0
  17. lidar_to_cam_ry: 0.0
  18. lidar_to_cam_rz: -0.04
  19. # camera model
  20. model_type: MEI
  21. camera_name: camera
  22. # Mono camera config
  23. image_width: 720
  24. image_height: 540
  25. mirror_parameters:
  26. xi: 1.9926618269451453
  27. distortion_parameters:
  28. k1: -0.0399258932468764
  29. k2: 0.15160828121223818
  30. p1: 0.00017756967825777937
  31. p2: -0.0011531239076798612
  32. projection_parameters:
  33. gamma1: 669.8940458885896
  34. gamma2: 669.1450614220616
  35. u0: 377.9459252967363
  36. v0: 279.63655686698144
  37. fisheye_mask: "/config/fisheye_mask_720x540.jpg"
  38. #imu parameters The more accurate parameters you provide, the worse performance
  39. acc_n: 0.02 # accelerometer measurement noise standard deviation.
  40. gyr_n: 0.01 # gyroscope measurement noise standard deviation.
  41. acc_w: 0.002 # accelerometer bias random work noise standard deviation.
  42. gyr_w: 4.0e-5 # gyroscope bias random work noise standard deviation.
  43. g_norm: 9.805 #
  44. # Extrinsic parameter between IMU and Camera.
  45. estimate_extrinsic: 0 # 0 Have an accurate extrinsic parameters. We will trust the following imu^R_cam, imu^T_cam, don't change it.
  46. # 1 Have an initial guess about extrinsic parameters. We will optimize around your initial guess.
  47. # 2 Don't know anything about extrinsic parameters. You don't need to give R,T. We will try to calibrate it. Do some rotation movement at beginning.
  48. #Rotation from camera frame to imu frame, imu^R_cam
  49. extrinsicRotation: !!opencv-matrix
  50. rows: 3
  51. cols: 3
  52. dt: d
  53. data: [ 0, 0, -1,
  54. -1, 0, 0,
  55. 0, 1, 0]
  56. #Translation from camera frame to imu frame, imu^T_cam
  57. extrinsicTranslation: !!opencv-matrix
  58. rows: 3
  59. cols: 1
  60. dt: d
  61. data: [0.006422381632411965, 0.019939800449065116, 0.03364235163589248]
  62. #feature traker paprameters
  63. max_cnt: 150 # max feature number in feature tracking
  64. min_dist: 20 # min distance between two features
  65. freq: 20 # frequence (Hz) of publish tracking result. At least 10Hz for good estimation. If set 0, the frequence will be same as raw image
  66. F_threshold: 1.0 # ransac threshold (pixel)
  67. show_track: 1 # publish tracking image as topic
  68. equalize: 1 # if image is too dark or light, trun on equalize to find enough features
  69. fisheye: 1 # if using fisheye, trun on it. A circle mask will be loaded to remove edge noisy points
  70. #optimization parameters
  71. max_solver_time: 0.035 # max solver itration time (ms), to guarantee real time
  72. max_num_iterations: 10 # max solver itrations, to guarantee real time
  73. keyframe_parallax: 10.0 # keyframe selection threshold (pixel)
  74. #unsynchronization parameters
  75. estimate_td: 0 # online estimate time offset between camera and imu
  76. td: 0 # initial value of time offset. unit: s. readed image clock + td = real image clock (IMU clock)
  77. #rolling shutter parameters
  78. rolling_shutter: 0 # 0: global shutter camera, 1: rolling shutter camera
  79. rolling_shutter_tr: 0 # unit: s. rolling shutter read out time per frame (from data sheet).
  80. #loop closure parameters
  81. loop_closure: 1 # start loop closure
  82. skip_time: 0.0
  83. skip_dist: 0.0
  84. debug_image: 0 # save raw image in loop detector for visualization prupose; you can close this function by setting 0
  85. match_image_scale: 0.5
  86. vocabulary_file: "/config/brief_k10L6.bin"
  87. brief_pattern_file: "/config/brief_pattern.yml"