Comments (7)
Looks like a classic "data in the wrong format" issue as this one for example: #55
If you need more help, please upload a reproducible example using the issue template.
from evo.
Dear Michael , evo_traj work properly when i plot FrameTrajectory_KITTI_Format.txt (ORB_SLAM) output , but here i am trying to plot LearVIORB_SLAM TUM format .
this is error i get after conversting the format into Kitti
root@amrani:~/testResults# evo_traj tum KeyFrameNavStateTrajectory.txt --save_as_kitti
[ERROR] Unhandled error in evo.main_traj
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/evo/entry_points.py", line 94, in launch
main_module.run(args)
File "/usr/local/lib/python2.7/dist-packages/evo/main_traj.py", line 177, in run
trajectories.append((traj_file, file_interface.read_tum_trajectory_file(traj_file)))
File "/usr/local/lib/python2.7/dist-packages/evo/tools/file_interface.py", line 71, in read_tum_trajectory_file
mat = np.array(csv_read_matrix(file_path, delim=" ", comment_str="#")).astype(float)
ValueError: could not convert string to float:
[ERROR] evo module evo.main_traj crashed - no logfile written (disabled)
from evo.
but here i am trying to plot LearVIORB_SLAM TUM format
Whatever that is - it's certainly not the official TUM benchmark format that evo supports.
error i get after conversting the format into Kitti
Your input format for the conversion is still not the correct TUM format, how should this work?
Upload something to reproduce, or nobody can help you. Or fix your stuff to write the right format, it's all documented.
from evo.
Dear michael , sorry for bothering im quite new in this field here my trajectory.txt file
KeyFrameNavStateTrajectory.txt
from evo.
The file has 2 problems:
- trailing space at the end of each line - space is the delimiter of the TUM format and a delimiter without data after it leads to an error
- too many columns, looks like there is some additional data that we don't expect
If you use Linux (probably also works on Mac) you can use cut
to create a clean copy with only the first 8 columns:
cut --delimiter " " --fields 1-8 KeyFrameNavStateTrajectory.txt > clean.tum
This file is then valid according to evo_traj tum clean.tum --full_check
.
from evo.
THank you so much
it works properly now
from evo.
I have try this method, but it doesnot work
from evo.
Related Issues (20)
- How to show local coordinate on plot? HOT 2
- Less than m non-colinear points HOT 1
- How to record the ros bag file to use EVO ? HOT 7
- The original point is diffrent two much between gt and algo when use evo_** gt_file algo_out_flie -p -a HOT 1
- Plot Mode doesn't work for TUM format file HOT 3
- Identity Rotation has Better than Expected RPE Rot HOT 2
- evo_res drawing questions HOT 3
- Trajectory drawing HOT 1
- Unexpected APE values for trajectory with tracking failure HOT 2
- Adapt coordinate axis range of plot HOT 3
- Loading TUM format when euroc specified HOT 1
- Support for setting the size of the image to save HOT 3
- Custom Line Colors HOT 2
- Sim(3) alignment scale HOT 2
- APE and RPE metrics HOT 7
- Control Legend Settings and rename curves in plots HOT 1
- The kitti dataformat and tum dataformat of same result,but have a different APE HOT 3
- Map Tile Baselayer in Plot HOT 5
- [ERROR] evo module evo.main_traj crashed - no logfile written (disabled)
- Evaluating VINSFUSION on kitti using evo, format doubt
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 evo.