-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORB_SLAM2 ROS node is not estimating trajectory (Gazebo Simulation) #6
Comments
have you tried taking off and hovering a little in place in order for ORB Slam to properly initialize? from what i can tell from the video you are flying forward right away which might not be ideal.... |
Hi @MarcGyongyosi , thanks for the answer. I have already hover for a while and move softly around the hovering point but not success in initializing the algorithm.. Maybe it is related to the vocabulary file. I am trying to generate another vocabulary file using some frames from the simulation as an input for the DBow2 library. However, I have to figure out how to generate a seralized *.txt vocabulary file, similar to the one is used by the algorithm.. |
I've been having similar issues with initialization using ROS. I've been running ORB SLAM 1 on some bagfiles of mine and it works great, initializing within the first two seconds every time and tracking all the way through. But ORB SLAM 2 mostly fails to initialize on the same bagfiles, and usually gets lost quickly on the times it does initialize. Is it possible I haven't converted the settings.yaml correctly? Here's the parameter file used with ORB SLAM 1 for the bagfile: And here's the file used with ORB SLAM 2: |
i've had the exact same experience - see issue #11 |
Hi @AHolliday , Could you provide the code you use to generate those bagfiles from any set of images? I'd like to generate some bagfiles, in order to try if that is influencing the algorithm to initialize. Thanks. |
Hi @alejodosr, I generated the bagfiles directly from a ROS camera node, so I don't have any code to manufacture a bagfile from a set of images. This shouldn't be too hard to do though - the rosbag API pretty easy to use and provides facilities for creating new bagfiles and writing individual messages to them. |
Hi, Any suggestion? |
@LinHuican check your .yaml file, and set the |
Added missing pangolin dep.
Hi,
I have successfully built the OBR-SLAM2 library (both normal and ROS variant). Using the Linux version (without ROS) and with a predefined dataset (TUM2 for example), it works perfectly. However, after building ROS node and executing it with a proper /camera/image_raw being published I don't get any Odometry, Trajectory estimation or mapping. In this video is shown what I have previously explained:
https://youtu.be/3OC2ARB9baI
This is the configuration of the Gazebo camera:
This is part of the calibration file:
And the Vocabulary file I used was the one located at Vocabulary/ORBvoc.txt.
I hope I explained it properly, tell me if you need further information. Thank you.
The text was updated successfully, but these errors were encountered: