Specialized Messages
Access messages from specialized sensors and inputs
Specialized message functions enable you to create and access sensors and data types using specific ROS and ROS 2 message types. You can use the same functions to work with specific ROS and ROS 2 specialized message types. For examples of accessing data from these sensors, see Work with Specialized ROS Messages.
Functions
Blocks
ROS Apply Transform, ROS 2 Apply Transform | Transform input ROS or ROS 2 message to target frame (Since R2023b) |
Get Transform | Get transformation between source and target frame from ROS network (Since R2023b) |
Get Transform | Get transformation between source and target frame from ROS 2 network (Since R2023b) |
Read Image | Extract image from ROS Image message (Since R2019b) |
Read Image | Extract image from ROS 2 Image message (Since R2021b) |
ROS Read Scan, ROS 2 Read Scan | Extract scan data from ROS or ROS 2 laser scan message (Since R2022a) |
Read Point Cloud | Extract point cloud from ROS PointCloud2 message (Since R2019b) |
Read Point Cloud | Extract point cloud from ROS 2 PointCloud2 message (Since R2021b) |
ROS Write Image, ROS 2 Write Image | Write image data to a ROS or ROS 2 message (Since R2022a) |
ROS Write Point Cloud, ROS 2 Write Point Cloud | Write point cloud data to a ROS or ROS 2 message (Since R2022a) |
Topics
Specialized ROS Messages
- Work with Specialized ROS Messages
Handle message types for laser scans, uncompressed and compressed images, point clouds, camera info, occupancy grid, and octomap messages. - Work with Velodyne ROS Messages
Handle VelodyneScan messages from a Velodyne LiDAR. - Improve Performance of ROS Using Message Structures
Demonstrates the use of ROS message structures, and their benefits and differences from message objects.