-
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 with Kinect #18
Comments
Nobody has had any experience concerning OrbSlam2 + kinect? I still haven't figured it out =/ |
i played with orbslam and kinect last week end. what is your question? On Wed, Feb 10, 2016 at 12:44 AM, marcelinomalmeidan <
|
@poine, I have the following questions:
As I said in the initial post, I was able to run the OrbSLAM2 examples, but I wasn't able to run OrbSLAM2 in real time with my kinect camera. |
Hola On Wed, Feb 10, 2016 at 2:24 AM, marcelinomalmeidan <
this is my launch file:
and this is my toy: https://goo.gl/photos/rWufHfHqFx1oJYdp8 HtH Poine |
Hi @poine! Thank you very much! It works now... For future reference (if anyone in the future has trouble with the same thing), this is what I did: Then I created a file called kinect_orbslam.launch with the contents described by poine, and launched it through roslaunch kinect_orbslam.launch. ;-) |
@marcelinomalmeidan , you're very welcome. By the way, are you using a And if you have a minute, could you test that version of ORB_SLAM2 : On Fri, Feb 12, 2016 at 12:11 AM, marcelinomalmeidan <
|
Hi @poine, I am using kinect v1, why? Are you considering to use v2? Since you are also working with a similar setup, did you find out how to publish ORBSlam data into a ROS topic? Since I am new to ROS, I've been struggling a lot to figure out how to get pose of the system as an ouput of ORBSLAM. |
On Fri, Feb 12, 2016 at 5:48 PM, marcelinomalmeidan <
Since you are also working with a similar setup, did you find out how to
I am working on that at the moment. I did not push the code to github yet I would like to formalize a generic viewer interface to ORB SLAM2 so that i |
@poine, I do have a Kinect v2 here (which, by the way, was never taken out of the box). I will try to use it later, I'll let you know the outcome! I understand your concern about getting the startup patch accepted before submitting this new one. I am not desperate, but I would be curious to play with it. Take your time! ;-) |
Hi @poine, is it possible to push that code to github? I'm really desperate to publish the output to ROS! |
@mohammed Alshiekh ok, i will try to put something in my git. What is it exactly you want to On Fri, Mar 11, 2016 at 10:45 PM, Mohammed Alshiekh <
|
@poine Yes, I'd like to have the poses published onto a ROS topic. Is it possible to have them both working at the same time? That is the graphical interface and ROS? Thanks! |
@poine @marcelinomalmeidan Great, thank you so much! |
@poine @marcelinomalmeidan ,hi ,I am new to the orbslam2. I am trying to use kinect2 to run orbslam2.I followed the site :https://github.com/raulmur/ORB_SLAM2/blob/master/README.md. but it doesn`t work,the camera window displays "Waiting for Images". I already checked rostopic list, which gives: |
Hello @Mrzzhao, it seems that you didn’t start the driver of the Kinect2. You only started ORB_SLAM2. |
@chwimmer ,thank you, I tried it ,the topic /camera/rgb/image_raw exists. And there are many types of messages. Today I tried another orbslam2 by Gaoxiang,and it works.Thank you again.Furthermore,I will try to solve this problem .I will tell you if I work it out. |
@poine @marcelinomalmeidan @chwimmer Hi ,I meet the same problem! I am also trying to use Kinect2 to run ORBSLAM2.It works well when I choose TUM Dataset, but it doesn`t work when I use my Kinect2 ,the camera window displays "Waiting for Images". |
when you start
So the published topics and the subscribed topics dont correspond to each other. Thats why you got the |
@chwimmer thakn you very much! It works now. |
You don't need to change it in the code and recompile, you can always convert one topic to another using ":=" while running ORBSLAM. |
@UThinkD Hi, I'm meet the same problem!How did you change the topic from"/camera/rgb/image_raw and camera/depth_registered/image_raw" to the topics of kinect2? Please give me a favor? |
mantangL <[email protected]>于2017年5月1日 周一17:23写道:
@UThinkD <https://github.com/UThinkD> Hi, I'm meet the same problem!How
did you change the topic from"/camera/rgb/image_raw and
camera/depth_registered/image_raw" to the topics of kinect2? Please give me
a favor?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZBtGoWJi4nWFV1JPrazchhWHDOns1jXks5r1aSPgaJpZM4HUwfH>
.
change the topic to topic of kinect2. You can type "topic list" to get the
topics of kinect2. Which I choose is "/kinect2/sd/image_color_rect", 1) and
/kinect2/sd/image_depth_rect", 1)"
|
@UThinkD Thanks very much .I have solved this problem by your advice.And the introduce of ROS topic is :http://wiki.ros.org/cn/ROS/Tutorials/UnderstandingTopics |
@poine did you make the patch? I also would like to see the published topics |
Hey everyone, [ INFO] [1514967208.178975139]: No devices connected.... waiting for devices to be connected please guide me. |
Hey everyone, I am trying to use Kinect with the ORB-SLAM2.
I already went through the dataset examples, and they worked fine.
However, when trying to use with kinect, it doesn't work: the camera window displays "Waiting for Images".
I already checked rostopic list, which gives:
/camera/depth_registered/image_raw
/camera/rgb/image_raw
/rosout
/rosout_agg
The two first topics are the ones that should be used with ORB-SLAM2, right?
In addition, I already tried launching libfreenect:
roslaunch freenect_launch freenect.launch
I get a bunch more rostopics and I am even able to view rgb video stream from image_view:
rosrun image_view image_view image:=/camera/rgb/image_raw
However, I cannot view the depth image from /camera/depth_registered/image_raw, but I can view the one in the topic:
rosrun image_view image_view image:=/camera/depth/image
I tried to change the ros_rgbd.cc file
From: message_filters::Subscriber<sensor_msgs::Image> depth_sub(nh, "camera/depth_registered/image_raw", 1);
To: message_filters::Subscriber<sensor_msgs::Image> depth_sub(nh, "/camera/depth/image", 1);
However, I didn't it would work anyway (and it didn't). Neither of the above solved the problem.
When executing the rqt_graph, it seems like ORB_SLAM2 creates a node called RGBD that is getting the topic /camera/rgb/image_raw. The rqt_graph can be seen below:
https://www.dropbox.com/s/fri1ik0xtzw7a9e/rosgraph.png?dl=0
(seems like the link can only be accessed by copying and pasting into the browser)
Would any of you have a suggestion of what can I do
The text was updated successfully, but these errors were encountered: