lidar.labeler.loading.RosbagSource Class
Namespace: lidar.labeler.loading
Superclasses: vision.labeler.loading.MultiSignalSource
Load signals from rosbag sources into Lidar Labeler app
Description
The lidar.labeler.loading.RosbagSource class creates an interface for
loading a signal from a rosbag file into the Lidar Labeler app. In the Select Point Cloud dialog box of the app, when
Source Type is set to Rosbag, this class
controls the parameters in that dialog box.

To access this dialog box, in the app, select Import > Add Point Cloud.
This class loads signals from the sensor_msgs/PointCloud2 ROS message
type only.
Note
This class requires ROS Toolbox.
The lidar.labeler.loading.RosbagSource class is a handle class.
Creation
When you export labels from a Lidar Labeler app session that contains a rosbag
source, the exported groundTruthLidar object stores an
instance of this class in its DataSource property.
To create a RosbagSource object programmatically, such as when
programmatically creating a groundTruthLidar object, use the
lidar.labeler.loading.RosbagSource function (described here).
Description
creates a rosbagSource = lidar.labeler.loading.RosbagSourceRosbagSource object for loading a signal from a rosbag data
source. To specify the data source and the parameters required to load the source, use the
loadSource method.
Properties
Methods
Version History
Introduced in R2020b