Comments (6)
oh no... I just notice I never changed the timestamp path!! But you definitely predicted what would be the next mistake. rsrsrs. Now the SLAM system starts but it only loads the first image... I'm trying to figure it out. Tks for your patience! :)
from orb_slam3.
The timestamp file in ./euroc_examples.sh
is located in ./Examples/Monocular/EuRoC_TimeStamps/MH01.txt
. So you need either replace the stamp file argument in ./euroc_examples.sh
with your own file path or place your timestamp file in the path above.
from orb_slam3.
@Halcao sorry, my mistake, I have changed the ./euroc_examples.sh as well. I just edited my prior comment. :)
from orb_slam3.
OK. Did you modify the timestamp file? Could you please post the first 10 lines of the file?
from orb_slam3.
Sure!
1595976430480 1595976430480.png
1595976430834 1595976430834.png
1595976431288 1595976431288.png
1595976431620 1595976431620.png
1595976431952 1595976431952.png
1595976432438 1595976432438.png
1595976432780 1595976432780.png
1595976433071 1595976433071.png
1595976433530 1595976433530.png
1595976433912 1595976433912.png
from orb_slam3.
@mirellameelo This file is supposed to contain only the first column which is the file name (without extension .png
) of your image. And the timestamp will be divided by 1e9, so you'd better either append nine 0s to the filename like 1595976430480000000000.png or modify the following code in mono_euroc.cc.
while(!fTimes.eof())
{
string s;
getline(fTimes,s);
if(!s.empty())
{
stringstream ss;
ss << s;
vstrImages.push_back(strImagePath + "/" + ss.str() + ".png");
double t;
ss >> t;
// vTimeStamps.push_back(t/1e9);
vTimeStamps.push_back(t);
}
}
If you choose to modify the code, the timestamp in the trajectory file will still be multiplied by 10e9, and you should also modify it.(System.cc:752)
// f << setprecision(6) << 1e9*pKF->mTimeStamp << " " << setprecision(9) << twb.at<float>(0) << " " << twb.at<float>(1) << " " << twb.at<float>(2) << " " << q[0] << " " << q[1] << " " << q[2] << " " << q[3] << endl;
f << setprecision(6) << pKF->mTimeStamp << " " << setprecision(9) << twb.at<float>(0) << " " << twb.at<float>(1) << " " << twb.at<float>(2) << " " << q[0] << " " << q[1] << " " << q[2] << " " << q[3] << endl;
from orb_slam3.
Related Issues (20)
- Segmentation fault inside KeyFrame::GetImuPosition()
- Can I load a map and localize the camera and pose within the map?
- mbActivateLocalizationMode(True)
- TUM VI dataset results do not match with the one presented in the paper
- ORB SLAM3-Can't Save the Trajectory in Stereo-Inertial Mode
- D4359i stereo_inertial, orb slam 3 keeps initialising
- initial camera position HOT 1
- left feature exctract HOT 1
- libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) ![1 2](https://github.com/UZ-SLAMLab/ORB_SLAM3/assets/150445457/5870c930-37f4-4caf-9503-371de8bcb6da) libGL error: failed to load driver: swrast
- 怎么生成自己的字典dbow
- Black screen for a while and then starting.... HOT 4
- It is a mistake?
- Move current frame window to new position with cv::moveWindow not working. HOT 2
- LoopClosing mnFullBAIdx defined as bool
- After turning, the scale of the newly generated map points is reduced HOT 3
- Find keypoints in source for a mask implementation HOT 2
- cmake error
- How do I visualize the data after running SLAM? HOT 1
- stereo+imu can not load map HOT 2
- Tracking lost when running stereo/mono mode in EuRoC dataset HOT 1
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 orb_slam3.