Main Content

ROS 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 or ROS 2 message types. For examples of accessing data from these sensors, seeWork with Specialized ROS Messages.

Functions

expand all

rosReadImage Convert ROS or ROS 2 image data intoMATLABimage
rosWriteImage WriteMATLABimage to ROS or ROS 2 image message
rosWriteCameraInfo Write monocular or stereo camera parameters to ROS or ROS 2 message structure
rosReadLidarScan Display lidar scan or point cloud from ROS or ROS 2 message structure
rosReadCartesian Read laser scan ranges in Cartesian coordinates from ROS or ROS 2 message structure
rosReadScanAngles Return scan angles from ROS or ROS 2 message structure
rosPlot Display lidar scan or point cloud from ROS or ROS 2 message structures
rosReadXYZ Extract XYZ coordinates from ROS or ROS 2 point cloud message structure
rosReadRGB Extract RGB color values from ROS or ROS 2 point cloud message structure
rosReadAllFieldNames Get all available field names from ROS or ROS 2 point cloud message structure
rosReadField Read point cloud data from ROS or ROS 2 message structure based on field name
rosPlot Display lidar scan or point cloud from ROS or ROS 2 message structures
rosReadQuaternion Create MATLAB quaternion object from ROS or ROS 2 message structure
velodyneROSMessageReader ReadVelodyneROS messages
hasFrame Determine if anotherVelodynepoint cloud is available in the ROS messages
readFrame Read point cloud frame from ROS message
reset ResetCurrentTimeproperty ofvelodyneROSMessageReaderobject to default value
rosReadBinaryOccupancyGrid Read binary occupancy grid data from ROS or ROS 2 message structure
rosReadOccupancyGrid Read occupancy grid data from ROS or ROS 2 message structure
rosReadOccupancyMap3D Read 3-D map from ROS or ROS 2Octomapmessage structure
rosWriteBinaryOccupancyGrid Write values from binary occupancy grid to ROS or ROS 2 message structure
rosWriteOccupancyGrid Write values from occupancy grid to ROS or ROS 2 message structure

Topics