-
Notifications
You must be signed in to change notification settings - Fork 63
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
Error running COVINS with your own camera #2
Comments
Eurc data set will also have the problem of bash: line 1: 19520 has been abandoned (core dumped) |
Do you get the same error when you test with the EuRoC data and the provided launch file |
I used ~/covins_examples/euroc_examples_mh123_vigba.sh,the dataset is Ruroc ,but there is the same problem. |
I am looking forward to your help to solve this problem. As a newcomer, I am honored to have this opportunity to communicate with you. |
I used the launch of ROS to run the EuRoc dataset, and I used the sh file in covins_example to run the Euroc dataset again. I found that it is OK to run two datasets in turn, but the dataset cannot run at the same time, otherwise the dataset will stop before it is finished. If you let the dataset run in turn, there will be Abandoned (core dumped) at the end of the last dataset. But the dataset is complete, so is this normal? I hope you can write a tutorial for using your own camera. Thank you very much. |
Hi! I just tested COVINS with 2 ROS launch files running in parallel, it seems to be working on my side. It would be great if you could provide some more information about your problem, potentially a screenshot of a case when the error occurs would be helpful, and a more exact description of what commands you are executing. From the 2 screenshots you shared above, everything seems OK. Particularly, what is working and what not?
A remark regarding using you own camera: COVINS is designed as a visual-inertial system, and only tested with the visual-inertial mode of ORB-SLAM3. We do not support running the monocular version so far, for this, you would have adjust the code to your needs, particularly extending the back-end to use SIM(3) transformations instead of SE(3). |
Thanks for the details. OK, so that's interesting - apparently, it fails only with the second client, on the MH2 sequence, and also rather towards the end. Generally, you should be able to run both scripts in parallel. Unfortunately, it's not directly obvious what the source of the error is, but some things we could try:
Regarding your own data - we will consider adding a tutorial for this, but we will probably not be able to do this very soon. Generally, I would recommend to look in more detail into the provided examples with different types of data, and try to get your data into the same format. Also, since we use ORB-SLAM3 as the VI front-end, looking in the issues there might help as well, e.g.: |
|
|
Yes, that looks correct! The 3D landmarks are still a bit noisy, if you now also execute the bundle adjustment (which currently cannot be called), it will look even better. I get the same error at the end of the run. As mentioned, when the program exits, a thread goes out of scope that is neither detached nor joined. Since it happens on exit, it's nothing that affects the SLAM estimate, you can ignore it. For this reason, it's a minor flaw, but it should still be fixed. Regarding the |
Recent commit |
When I re-downloaded and compiled, the following error occurred:
|
File directory: /home/zyf/ws_new/covins_ws/src/covins
|
Have you run the Regarding |
I cannot reproduce this error - on my machine, 'euroc_examples_mh12345_vigba.sh' runs through. Potentially, something went wrong when applying the recent changes locally. I would recommend to re-build the thirdparty libraries '.../covins_backend/thirdparty/DBoW2', '.../orb_slam3/Thirdparty/DBoW2' and '.../orb_slam3/Thirdparty/g2o', then re-compile 'covins_comm' and 'covins_backend', and finally 'ORB-SLAM3', as well as the ROS version, if required. Or, even more recommended, re-install COVINS in a clean workspace and from a freshly cloned version. If the problem then still persists, please provide some more information on the problem - e.g. is the server of agent failing with segfault, what was the last output before the segfault, and potentially some gdb output. In the attached image, I cannot spot any segfault or similar. |
Did you re-install in a clean workspace? If you change the communicator code, and e.g. do not re-compile the ORB-SLAM3 front-end, you are linking against different versions of |
and i try the last version,it can run as before |
Is it because Covins just don't support the monocular only front-end of ORB-SLAM3? I just read the Readme and found out that it only supports monocular-inertial VIO. Maybe IMU data is necessary for the back-end? |
I use the Euroc ,it is a vio dataset.I use the last version to run zed2 ,it worked ,but now even the data set can’t run |
Thanks for the feedback. Hm, OK - this is difficult to debug, since I cannot reproduce the error. It's the ORB-SLAM3 front-end that produces the segfault, right? One thing I could imagine, maybe it's some sort of runtime effect that for some reason occurs on your machine and only with this recent change. |
@Ramseyous0109 in case you want to deal with monocular data only, maybe check out CCM-SLAM, one of our past projects: https://github.com/VIS4ROB-lab/ccm_slam |
|
Thank you for your relpy. I'll try it. |
Can you check whether |
Of course,but i try .it has been installed and nothing was installed. |
OK, thanks for the feedback. Some more things you could try:
Generally, at this point, you need to gradually remove the changes introduced with commit |
By the way, could you share the specs of the machine you are using to run your experiments - OS version, and CPU / RAM? |
of course |
After commenting out line 107, it is the same as before,including segfault and the fault of gdb. |
Hello, can you share the tutorial of running COVINS on ZED2? look forward to your reply. |
Hello, can you share the tutorial of running COVINS on ZED2? look forward to your reply. |
@RoZhong we have created a branch named nothreadfix without the corrected thread handling. Please try this one out and let us know, whether you are still experiencing the segfault. As already mentioned, we cannot reproduce the error, and therefore not fix it on out side. However, we have generated an issue (#11) the keep track of the issue you have reported. |
Problem seems resolved for the moment - closing this issue. |
When I use my camera, I change the camera topic subscribed in ros_mono.cc in ~/ROS/ORB_SLAM3/src, but every time I run it normally for a while, it will appear "bash: line 1: 19366 segfault (core has been transferred) Chu) "rosrun ORB_SLAM3 Mono" error, I want to know what happened, or how to use my camera to run COVINS
The text was updated successfully, but these errors were encountered: