Comments (21)
Hmm. You did not face this issue with any of the other sequences?
from mono-vo.
I have been tested on 3 sequences (00, 11, 12). All of them are the same problem. I think this issue rises from getAbsoluteScale function. I try to find the groundtruth in your report on the internet but no result. Can you give it to me, i will test again.
from mono-vo.
This is a fairly old project for me, and I don't have any data with me anymore. There's probably an issue in the way you are printing the calculated trajectory. Do you use t_f.at<double>(0)
and t_f.at<double>(2)
?
from mono-vo.
Yes, i have uncomment this line
myfile << t_f.at<double>(0) << " " << t_f.at<double>(1) << " " << t_f.at<double>(2) << endl;
to store calculated trajectory in txt file.
from mono-vo.
Try printing out the values returned by the getAbsoluteScale
function. They should be in the ~1m range while the vehicle is moving. If they aren't, then there is something incorrect there.
It's surprising that this is happening, it worked on my system as far as I can remember.
from mono-vo.
This is my log:
Scale is 0.179389
125
Scale is 0.180999
126
Scale is 0.178401
Number of tracked features reduced to 1855
trigerring redection
127
Scale is 0.179787
128
Scale is 0.179718
129
Scale is 0.179596
130
Scale is 0.179492
131
Scale is 0.181502
132
Scale is 0.179042
133
Scale is 0.179856
:(
from mono-vo.
So there's something definitely wrong here. Check if you have filled in this value correctly:
ifstream myfile ("/home/avisingh/Datasets/KITTI_VO/00.txt");
from mono-vo.
Also, did you pay attention to this
// WARNING: different sequences in the KITTI VO dataset have different intrinsic/extrinsic parameters
double focal = 718.8560;
cv::Point2d pp(607.1928, 185.2157);
from mono-vo.
in ifstream myfile ("/home/avisingh/Datasets/KITTI_VO/00.txt");
i inserted times.txt of my test sequence.
and parameters double focal = 718.8560; cv::Point2d pp(607.1928, 185.2157);
I didn't find the parameters for my test sequence, so i didn't change it. Can you show me how to find it?
from mono-vo.
There's your issue. You must insert the ground truth file there, since it extracts the scale information from the ground truth (I mention this in the blog post and the report).
from mono-vo.
Sorry for my mistake, I will correct it and report again. Many thanks for your support :)
One more, Nister 's 5point algorithm is too difficult to understand :D
from mono-vo.
Closing this now, you can open it if you're unable to fix it.
from mono-vo.
Hi,
I think with different sequence I have to change algorithm of getAbsoluteScale
function. Call you tell me the ideal how to change it? My ground truth sample is following:
11.txt
While i change t_f = t_f + 0.78*(R_f*t);
and the result:
thanks.
from mono-vo.
No, you don't have to change it. You must provide the ground truth files in the KITTI format (12 columns), and it will work.
from mono-vo.
Yes, I found an ground truth file on KITTI 's website, and it worked charm 💯
But i have another question, with ground truth file below, how to plot ground truth and trajectory?
My ground truth file:
00.txt
My gnuplot script is below, but it not work correctly :( .
set term postscript eps enhanced color
set output "11.eps"
set size ratio -1
set xrange [-321:313]
set yrange [-28:606]
set xlabel "x [m]"
set ylabel "z [m]"
plot "11.txt" using 1:2 lc rgb "#FF0000" title 'Ground Truth' w lines,"11.txt" using 3:4 lc rgb "#0000FF" title 'Visual Odometry' w lines,"< head -1 11.txt" using 1:2 lc rgb "#000000" pt 4 ps 1 lw 2 title 'Sequence Start' w points
Thanks.
from mono-vo.
Please answer my questions :(
from mono-vo.
I do not use GNU plot, cannot help you there. However, I don't think you should use the first two columns for the x, y values. It should more like 1st column, 5th column, 9th column or something like that for x,y,z
from mono-vo.
:( how to you plot your trajectory in your report? Please give me some advice?
from mono-vo.
I used MATLAB to plot it.
from mono-vo.
Yes, can you give me the matlab file? With orginal ground truth file i have no ideal to plot it, i try to use gnuplot but failed :(
from mono-vo.
Help me, please :(
from mono-vo.
Related Issues (20)
- Can you explain getAbsoluteScale function? HOT 4
- Calibration for absolute scale HOT 1
- Have you tried to optimize the frames?
- Some errors when running with KITTY dataset HOT 8
- how to run it without groundtruth use my own dataset HOT 1
- Some questions about the visodo.cpp
- some question
- How use my dataset?
- can you elaborate one part of the code?
- How to generate poses file in dataset ? HOT 2
- Performance graph HOT 1
- Dead code (prevPts and currPts are not used) ?
- Performance on python
- How to get the relative travel distance without distance information and Ground Truth
- Floating point exception error using opencv 2.4.8
- Incorrect trajectory
- where to download "00.txt" HOT 5
- Expression:_pFirstBlock==pHead HOT 2
- The error during the step of : make HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mono-vo.