Skip to content

Dynamic Publishing / Reading From Disk #2

@goldbattle

Description

@goldbattle

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions