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

Adding RGB-D Topics as Input #2

Open
pephabet opened this issue Sep 24, 2019 · 2 comments
Open

Adding RGB-D Topics as Input #2

pephabet opened this issue Sep 24, 2019 · 2 comments

Comments

@pephabet
Copy link

I've just build lvt and ran the launch file. The lvt_node subscribes to these topics:
* /left/image_rect_gray
* /right/image_rect_gray
* /left/camera_info
* /right/camera_info
The issue is I am not using a stereo camera. So I do not have those topics. I am currently using RGB-D camera. How do I make the launch file work with my camera?

@pephabet
Copy link
Author

pephabet commented Oct 7, 2019 via email

@alademm
Copy link
Member

alademm commented Oct 8, 2019

Hi @pephabet , the ROS node itself right now only listens to stereo messages. However, you should be able to easily update it to listen to your RGB-D ones. In lvt, using RGB-D instead of stereo is very easy, you only need to specify RGB-D as the sensor type when you create the lvt_system, and then pass the correct images to the track() function. Check lvt_system.h.

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

2 participants