Main Content
rosbagreader
Description
The rosbagreader
object is an index of the messages within a
rosbag. You can use it to extract message data from a rosbag, select messages based on
specific criteria, or create a time series of the message properties.
Creation
Description
creates an indexable bagreader
= rosbagreader(filepath
)rosbagreader
object,
bagreader
, that contains all the messages from the rosbag log file
at the input path filepath
. The filepath
input
argument sets the FilePath
property. To access the data, you can call readMessages
or timeseries
to extract relevant data.
Properties
Object Functions
select | Select subset of messages in rosbag |
readMessages | Read messages from rosbag |
timeseries | Create time series object for selected message properties |
timetable | Create timetable for selected message properties in ROS bag file |
canTransform | Verify if transformation is available |
getTransform | Retrieve transformation between two coordinate frames |
Examples
Version History
Introduced in R2021b
See Also
select
| readMessages
| timeseries
| canTransform
| getTransform