Comments (18)
Thank you, I ran it successfully. It turned out that I ran as many terminals as the little turtle. I also want to know that I finished running this algorithm. I ran the first data set of EUROC, but I didn't know where to find the key frame track file. I was a little confused. Thank you very much.
from sptam.
Thanks for your help, I found the final frame pose, but it is not continuous, so I'm going to try to slow it down and try to process each frame. Maybe I'll have problems later, please
from sptam.
I'm busy with other things recently. Thank you for your patience and reply. You are the fastest writer I have ever seen to reply to information, so I present a star to you. You're a great author. For me, a novice SLAM, I really appreciate it. Perhaps, in the near future, I will trouble you again.
from sptam.
Hi @WuHaote, have you run roscore command in a terminal?
from sptam.
Or, did it not generate such a file after it finished running。
from sptam.
Check the ~/.ros/ directory after run S-PTAM, it should have a .log file created by S-PTAM. In this log file you can find the pose computed by S-PTAM for each frame among other log information for debugging.
Please check the existing issues, several questions/doubts are already solved or discussed. For example this one was already answered here: #19 (comment)
from sptam.
Forgive me for being stupid, I didn't find the log file.
and I couldn't see how to get the camera pose file in another question. May I ask what the file name is?
from sptam.
What flags are you using to compile S-PTAM? Have you seen it running properly in ROS (for example by observing the trajectory in rviz)? Could you post an screenshot of the trajectory visualized in RVIZ?
from sptam.
I used s-ptam in ROS,but I really can't find where the track is saved
from sptam.
Source space:/root/catkin_ws/src
I run four terminals here
【roscore】
【rosbag play --clock output.bag -s 50】
【roslaunch sptam euroc.launch】
【rosrun rviz rviz】
from sptam.
mmm It should be inside the ~/.ros directory with the current date and time YEAR-MM-DD_hh:mm:ss.log
. Could you paste here the content of ~/.ros directory? Example: #40 (comment)
from sptam.
Sorry, I didn't notice that ROS has another point. Now I found it. But how can this log be compared with groundturth? Can I compare with evo directly?
from sptam.
Yes, you can use evo...
The pose of each frame you can find it in the log with the following labels:
TRACKED_FRAME_POSE: in initial camera corrdinate system
REFINED_CAMERA_POSE: in the odom coordinate system (in general is the same than the camera coordinate system)
This was already replied here:#40 (comment)
from sptam.
Sorry, I'm bothering you again. I don't know how to convert this final frame pose into a text format that EVO tools can read and write. The true value of EUROC is only eight bits. However, my final frame pose has 12 bits in one frame, plus a string of zeros and ones, which is a bit confusing and I don't know how to convert it.
data is true value ,cat.txt is my final frame pose
from sptam.
Observe that first FINAL_FRAME_POSE value is the number of the frame, the next 12 values is the pose and "The string of zeros and ones" that you mentioned belongs to the pose covariance (in this case is the matrix identity). Moreover, to understand the pose values you can check the code (for example search in the code the keyword: FINAL_FRAME_POSE).
You can take the 12 values related with pose and generated KITTI format pose for example. Evo can process KITTI format.
from sptam.
I'm sorry, but I still have a problem.
Question 1: Do you mean that the final frame of the log file is klttl data set format, and I need to use evo to convert the log file klttl into eucoc format?
Question 2: Is the file saved by 2:rostopic the log file I saw?
Question 3:evo doesn't seem to be very good at converting klttl format into other formats. Can you provide some good methods?
Question 4: I can't find the keyword FINAL_FRAME_POSE in sptam/src. Can you tell me where it is?
from sptam.
Question 1: yes. you can create or modify the S-PTAM output.
Question 2: Not sure if I understand the question. The FINAL_FRAME_POSE is in KITTI format. The poses that are published in ROS have the format depicted by geometry_msgs::PoseWithCovarianceStamped.
Question 3: There are some scripts here: https://github.com/CIFASIS/dataset-processing/tree/master/data_converters. Maybe they can be useful for you. Otherwise you can create your own script.
Question 4: FINAL_FRAME_POSE is located in: https://github.com/lrse/sptam/blob/master/src/ros/base_driver.cpp
from sptam.
I recently uploaded a S-PTAM docker to facilitate its compilation and run. Please check https://cifasis.github.io/sptam. The new code is hosted in https://github.com/CIFASIS/sptam
from sptam.
Related Issues (20)
- Gtest error while compilation HOT 12
- Not enough points for tracking with MIT dataset HOT 1
- ERROR: There is not any covisibility keyframes observing the tracked points HOT 7
- Building standalone HOT 2
- Running KITTI sequences on standalone HOT 3
- Error Running kitti.launch with kitti_01.bag HOT 20
- symbol lookup error: /home/ros/vslam/devel/lib/libsptam.so: undefined symbol HOT 2
- Improvement for pure localization after running a SLAM session HOT 3
- error: ‘DBoW2::FBrief::TDescriptor {aka class std::bitset<256ul>}’ has no member named ‘resize’ HOT 6
- [ERROR] [1563717737.344465687]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying... HOT 17
- File:'file:///home/lzb/catkin_ws2/src/sptam/src/sptam/loopclosing/detectors/DLDLoopDetector.cpp' Severity:'Error' Message:''DBoW2:: FBrief:: TDescriptor {aka class std:: BitSet < 256ul >}'has no member named'resize'' HOT 4
- Gtest error while doing catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON HOT 3
- Error while running the roslaunch sptam kitti.launch HOT 23
- KITTI Bag Files HOT 4
- Disable GTest? HOT 1
- CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:67 (catkin_workspace) HOT 4
- rosplay kitti_04 error,need help HOT 3
- Please HELP me::::::when-->“catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON” HOT 7
- Can we use this slam with only lidar? 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 sptam.