Skip to content
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

Using a monocular camera to run rgbdslamv2 #128

Open
zhangjd1029 opened this issue Jul 4, 2023 · 5 comments
Open

Using a monocular camera to run rgbdslamv2 #128

zhangjd1029 opened this issue Jul 4, 2023 · 5 comments

Comments

@zhangjd1029
Copy link

Hello, I deployed rgbdslamv2 on Ubuntu 20.04 and was able to successfully run the dataset.
I tried using a monocular camera to obtain rgb images, using monodepth2 to obtain corresponding depth maps, and publishing/camera/rgb/color_image, /camera/depth/image and /camera/rgb/camera_ Info, change the topic name in rgbdslam. launch, here is its rqt_ Graph

3

I have seen some examples of using an rgbd camera to run rgbdslamv2. After changing the topic name in rgbdslam. launch, they were able to run successfully. However, after doing so, the rgbdslam interface did not respond at all. May I know the reason for this? Looking forward to your! Thank you.

@zhangjd1029
Copy link
Author

May I ask if the operation of rgbdslamv2 must include/tf topics?

@felixendres
Copy link
Owner

Hm, good question. rgbdslam_v2 relies on the topics being synchronized by message_filters (using message_filters::sync_policies::ApproximateTime). Maybe computing the depth image takes too much time?

Do you get the message from this line of code? with the appropriate topics?

If so, the next thing to check if you get callbacks to this callback method. Do you see its log messages?

@felixendres
Copy link
Owner

Tf shouldn't be required for the monocular case. You may see warnings, that a standard transformation from a base coordinate frame (Z points upwards) to a camera coordinate frame is assumed (where Z is forward).

@LiamHorton
Copy link

Hi @zhangjd1029:

I am also trying to deploy rgbdslamv2 on Ubuntu 20.04 with ROS noetic. I have been having issues with the PCL and OpenCV versions as well as the compiler option for PCL. I am currently using PCL 1.1 which requires C++14 or greater and OpenCV 4.2.

Could you provide what version of PCL and OpenCV you are using?

Thanks,
Liam

@felixendres
Copy link
Owner

If you guys get it running, I'd be interested in a pull request. Please bear with me, if I don't respond timely though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants