Read messages from rosbag
returns data as a cell array of structures using either set of the previous input
arguments. Using structures can be significantly faster than using message objects,
and custom message data can be read directly without loading message definitions
using msgs
= readMessages(___,"DataFormat","struct")rosgenmsg
.
Note
In a future release, ROS Toolbox will use message structures instead of objects for ROS messages.
To use message structures now, set the "DataFormat"
name-value
argument to "struct"
. For more information, see ROS Message Structures.
rosbag
| select
| timeseries