forked from xtdrone/XTDrone
67 lines
2.3 KiB
YAML
67 lines
2.3 KiB
YAML
%YAML:1.0
|
|
|
|
#common parameters
|
|
imu: 0
|
|
num_of_cam: 2
|
|
|
|
imu_topic: ""
|
|
image0_topic: "/leftImage"
|
|
image1_topic: "/rightImage"
|
|
output_path: "/home/tony-ws1/output/"
|
|
|
|
cam0_calib: "cam03.yaml"
|
|
cam1_calib: "cam03.yaml"
|
|
image_width: 1241
|
|
image_height: 376
|
|
|
|
|
|
# Extrinsic parameter between IMU and Camera.
|
|
estimate_extrinsic: 0 # 0 Have an accurate extrinsic parameters. We will trust the following imu^R_cam, imu^T_cam, don't change it.
|
|
# 1 Have an initial guess about extrinsic parameters. We will optimize around your initial guess.
|
|
|
|
body_T_cam0: !!opencv-matrix
|
|
rows: 4
|
|
cols: 4
|
|
dt: d
|
|
data: [1, 0, 0, 0,
|
|
0, 1, 0, 0,
|
|
0, 0, 1, 0,
|
|
0, 0, 0, 1]
|
|
|
|
body_T_cam1: !!opencv-matrix
|
|
rows: 4
|
|
cols: 4
|
|
dt: d
|
|
data: [1, 0, 0, 0.537150588250621,
|
|
0, 1, 0, 0,
|
|
0, 0, 1, 0,
|
|
0, 0, 0, 1]
|
|
|
|
#Multiple thread support
|
|
multiple_thread: 0
|
|
|
|
#feature traker paprameters
|
|
max_cnt: 200 # max feature number in feature tracking
|
|
min_dist: 30 # min distance between two features
|
|
freq: 10 # frequence (Hz) of publish tracking result. At least 10Hz for good estimation. If set 0, the frequence will be same as raw image
|
|
F_threshold: 1.0 # ransac threshold (pixel)
|
|
show_track: 1 # publish tracking image as topic
|
|
flow_back: 1 # perform forward and backward optical flow to improve feature tracking accuracy
|
|
|
|
#optimization parameters
|
|
max_solver_time: 0.08 # max solver itration time (s), to guarantee real time
|
|
max_num_iterations: 10 # max solver itrations, to guarantee real time
|
|
keyframe_parallax: 15 # keyframe selection threshold (pixel)
|
|
|
|
#imu parameters The more accurate parameters you provide, the better performance
|
|
acc_n: 0.1 # accelerometer measurement noise standard deviation. #0.2 0.04
|
|
gyr_n: 0.01 # gyroscope measurement noise standard deviation. #0.05 0.004
|
|
acc_w: 0.001 # accelerometer bias random work noise standard deviation. #0.02
|
|
gyr_w: 1.0e-4 # gyroscope bias random work noise standard deviation. #4.0e-5
|
|
g_norm: 9.81007 # gravity magnitude
|
|
|
|
#unsynchronization parameters
|
|
estimate_td: 0 # online estimate time offset between camera and imu
|
|
td: 0.0 # initial value of time offset. unit: s. readed image clock + td = real image clock (IMU clock)
|
|
|