sunghoon031 / LCSD_SLAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About edit the input paths

nanoahSR opened this issue · comments

Can you share "cam0_calib_for_dso.txt" and "trackingStats.txt"?

commented

Hi. Sorry I forgot to add cam0_calib_for_dso.txt file..
Unfortunately, I do not have access to this file with me at the moment.. I will upload it once I have the access.
This file is basically the camera calibration data of EuRoC dataset which is necessary for DSO.
If you want, you can create this file yourself. See here for the explanation of this file.

As I wrote here, trackingStats.txt is just an additional output file that is generated once you complete the sequence. This file is not necessary to run the system.

Thank you. I solved the problem at your prompt

But I found another problem. I want to run the EuRoC dataset. The EuRoC dataset does not have "pcalib.txt" and "vignette.png". I tried to set these two paths to "None", but I still gave an error.

<param name="dataset" type="int" value="1"/>
<param name="vignette_file_path" type="string" value=""/>
<param name="gamma_file_path" type="string" value=""/>

What should I do?

commented

EuRoC dataset doesn't use pcalib.txt and vignette.png file.
So, try the following solutions:

  1. Set the paths to random text, or
  2. Create random txt and png files and set the paths to them, or
  3. Download any "pcalib.txt" and "vignette.png" from here and set the paths to them.

Please let me know which of the above works for you.

Unfortunately, I set up all the input files, but I always prompt the following error:

Reading Photometric Calibration from file /home/rsn/Dataset/TUM/sequence_01/pcalib.txt
Reading Vignette Image from /home/rsn/Dataset/TUM/sequence_01/vi.png
Successfully read photometric calibration!
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 1) >= this->size() (which is 0)
[dso/dso_ros-1] process has died [pid 16057, exit code -6, cmd /home/rsn/Workplace/direct_method/LCSD_SLAM/DSO_ROS/catkin_ws/devel/lib/dso_ros/dso_node __name:=dso_ros __log:=/home/rsn/.ros/log/28995136-2ee7-11ea-a023-00d861a17311/dso-dso_ros-1.log].
log file: /home/rsn/.ros/log/28995136-2ee7-11ea-a023-00d861a17311/dso-dso_ros-1*.log
all processes on machine have died, roslaunch will exit

commented

Have you tried TUM-monoVO sequence? Does it give the same error message?

Sorry, I didn't reply to you because of Chinese New Year.
Actually, I ran the TUM-monoVO sequence without error.

commented

I uploaded cam0_calib_for_dso.txt and cam1_calib_for_dso.txt. Please check the updated instruction here.

So were you able to run both EuRoC and TUM monoVO sequences?