-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some problems running D^2-SLAM in Airsim #11
Comments
The config_file used is as follow, which is copied from tum_single.yaml and modified for Airsim's camera and imu (use PINHOLE camera model and modify body_T_cam and IMU Measurement parameters): #inputs imu_freq: 200 #Camera configuration body_T_cam1: !!opencv-matrix #estimation #optimization parameters #depth fusing #Multi-drone #Initialization #sliding window #solver #outlier rejection #Marginalization #feature tracker parameters #CNN #Measurement parameters. The more accurate parameters you provide, the better performance #Loop Closure Detection #PGO #outputs |
And when I read the source code, I find that: in file d2frontend_params.cpp, the parameter focal_length is setted always as 460.0, why do not we need to change focal_length's value as camera settings changed? |
@Wenminggong 460.0 here is only a scale factor (not a really focal length). It only influence the judgement of keyframe . |
@xuhao1 Thanks. Currently, I have no idea about this phenomenon, I hope to get some constructive suggestions from you to debug this system. |
I found that when parallex_thres = 0.022, d2vins can't find new key frame almost time, as a result the estimated states are not accurate. After reset parallex_thres value, I can get the smooth VIOPath. Besides, the type of images from Airsim is BRG8, if you use STEREO_PINHOLE and need LK features, you should convert BRG8 type to GRAY type for supporting cv::cuda::createGoodFeaturesToTrackDetector. |
Thank you so much for your excellent work!
I try to run d^2-slam in Microsoft Airsim simulator, while I meet some problems:
I would like to seek help from the authors.
Thanks very much.
The text was updated successfully, but these errors were encountered: