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

Dynamic Publishing / Reading From Disk #2

Open
goldbattle opened this issue May 31, 2020 · 1 comment
Open

Dynamic Publishing / Reading From Disk #2

goldbattle opened this issue May 31, 2020 · 1 comment

Comments

@goldbattle
Copy link

It would be nice if only certain topics are subscribed to then only those topics are published. For example if only the LiDAR is used, then there is no need to read the stereo images / imu / etc from disk. This can allow for faster dataset playback if not using all the sensors.

The main use case I have is if I am only using stereo + inertial, then I rather not have the system reading all the pointclouds and taking up disk bandwidth. The number of nodes that are currently subscribed to a topic can be checked with:

// Check if we have subscribers, if we don't then return
if(pub_odomimu.getNumSubscribers()==0)
     return;
@JinyongJeong
Copy link
Contributor

Yes. I agree with your comments. Can you make a PR with what you said? If not, I will update the content later.

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