-
Notifications
You must be signed in to change notification settings - Fork 23
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
Running Problem #6
Comments
What is the command you are running DM-VIO with? Example 1 would use the former, but your output suggests you might be trying the latter. |
My bad....I have tried to run the ROS node with rosbag, and then what come out is..... ………………………… |
This is the error when I running with EuRoC dataset. rosrun dmvio_ros node calib=/home/hiroya/catkin_dm/src/dm-vio-master/configs/camera.txt settingsFile=/home/hiroya/catkin_dm/src/dm-vio-master/configs/euroc.yaml rosbag play '/home/hiroya/download/Test-bag/euroc/MH_01_easy.bag' I'm pretty sure what I have done is the same as tutorial. NO PHOTOMETRIC Calibration! |
This is a bit tricky to debug, as I cannot reproduce the issue on my machine. Here are a couple of things you can try. (Firstly, does this also happen on V2_01? http://robotics.ethz.ch/~asl-datasets/ijrr_euroc_mav_dataset/vicon_room2/V2_01_easy/V2_01_easy.bag ) I assume that the dataset version also doesn't work? (see instructions here: https://github.com/lukasvst/dm-vio#3-running ) Sometimes it's easier to first try to get the dataset version to work. If it doesn't work can you also try running the dataset version (not the ROS one) with arguments Lastly, you could run the ROS node with GDB and send me the stacktrace after the segmentation fault, then I could try to find the root cause. |
Sorry about waiting.. |
Thanks a lot for the detailed info! It seems to be a problem with boost indeed, but unfortunately the stacktrace is not very telling, which makes the issue hard to debug from a distance. In principle the boost version (1.65) is fine (and the same I'm using). Are you sure that all your libraries use the same boost version? What operating system are you using? (I assume it's Ubuntu 18.04, but if it's not this might be related to the issue.) I think it might help to execute DM-VIO with the additional commandline arguments |
ahhhyas, I fixed it! |
Glad to hear that you were able to fix it. Thanks for letting us know what the issue was! |
Hi,
I've followed the tutorial and successfully compiled the dm-vio-ros.
Then I tried to run the "Example 1: Using EuRoC Bags", It only lasted one second and then crashed.....
, which will also be repeats at DSO.There is my condition:
PHOTOMETRIC MODE WITHOUT CALIBRATION!
Reading Calibration from file /home/hiroya/catkin_dm/src/dm-vio-master/configs/camera.txt ... found!
found RadTan (OpenCV) camera model, building rectifier.
Creating RadTan undistorter
Input resolution: 752 480
In: 458.654000 457.296000 367.215000 248.375000 -0.283408 0.073959 0.000194 0.000018
Out: Rectify Crop
Output resolution: 640 480
finding CROP optimal new model!
initial range: x: -1.0297 - 1.1007; y: -0.6043 - 0.5523!
iteration 00001: range: x: -1.0245 - 1.0952; y: -0.6043 - 0.5523!
iteration 00002: range: x: -1.0194 - 1.0897; y: -0.6043 - 0.5523!
iteration 00003: range: x: -1.0194 - 1.0897; y: -0.6013 - 0.5495!
iteration 00004: range: x: -1.0194 - 1.0897; y: -0.5983 - 0.5468!
iteration 00005: range: x: -1.0194 - 1.0897; y: -0.5983 - 0.5468!
Rectified Kamera Matrix:
302.967 0 308.852
0 418.335 250.271
0 0 1
NO PHOTOMETRIC Calibration!
Reading Photometric Calibration from file
PhotometricUndistorter: Could not open file!
set timestamps and exposures to zero!
set EXPOSURES to zero!
got 3682 images and 0 timestamps and 0 exposures.!
ImageFolderReader: got 3682 files in /home/hiroya/下载/Test-bag/euroc/mav0/cam1/data!
using pyramid levels 0 to 3. coarsest resolution: 80 x 60!
START PANGOLIN!
OpenGL Error 502: GL_INVALID_OPERATION: The specified operation is not allowed in the current state.
In: /usr/local/include/pangolin/gl/gl.hpp, line 214
Initialization: keep 21.8% (need 2000, have 9173)!
INITIALIZE FROM INITIALIZER (2048 pts)!
SPARSITY: MinActDist 2.100000 (need 2000 points, have 2048 points)!
Segmentation fault (core dumped)!
Not only does Euroc not work properly, but TUM's also has the same error.
And I can't solve the "OpenGL Error 502".
Is it an environment configuration error or a parameter setting problem? Thank you for your help!
The text was updated successfully, but these errors were encountered: