Main Content

ROS 特化メッセージ

特化したセンサーおよび入力からのメッセージにアクセスする

特化したメッセージ関数を使用すると、特定の ROS および ROS 2 メッセージ タイプを使用したセンサーおよびデータ型を作成してアクセスできます。同じ関数を使用して、特定の ROS および ROS 2 特化メッセージ タイプを操作できます。これらのセンサーからデータにアクセスする例は、Work with Specialized ROS Messagesを参照してください。

関数

すべて展開する

rosReadImageROS または ROS 2 イメージ データを MATLAB イメージに変換
rosWriteImageWrite MATLAB image to ROS or ROS 2 image message
rosWriteCameraInfoWrite monocular or stereo camera parameters to ROS or ROS 2 message structure
rosReadLidarScanROS または ROS 2 メッセージ構造体からの LIDAR スキャンまたは点群の表示
rosReadCartesianRead laser scan ranges in Cartesian coordinates from ROS or ROS 2 message structure
rosReadScanAnglesReturn scan angles from ROS or ROS 2 message structure
rosPlotROS または ROS 2 メッセージ構造体からの LIDAR スキャンまたは点群の表示
rosReadXYZROS または ROS 2 点群メッセージ構造体からの XYZ 座標の抽出
rosWriteXYZWrite data points in x, y and z coordinates to a ROS or ROS 2 PointCloud2 message structure
rosReadRGBROS または ROS 2 点群メッセージ構造体からの RGB カラー値の抽出
rosWriteRGBWrite RGB color information to a ROS or ROS 2 PointCloud2 message structure
rosReadAllFieldNamesROS または ROS 2 点群メッセージ構造体から使用可能なすべてのフィールド名を取得
rosReadFieldフィールド名に基づいて ROS または ROS 2 メッセージ構造体から点群データを読み取る
rosWriteIntensityWrite intensity data points to a ROS or ROS 2 PointCloud2 message structure
rosPlotROS または ROS 2 メッセージ構造体からの LIDAR スキャンまたは点群の表示
rosReadQuaternionROS または ROS 2 メッセージ構造体からの MATLAB quaternion オブジェクトの作成
velodyneROSMessageReaderRead Velodyne ROS messages
hasFrameDetermine if another Velodyne point cloud is available in the ROS messages
readFrameRead point cloud frame from ROS message
resetReset CurrentTime property of velodyneROSMessageReader object to default value
rosReadBinaryOccupancyGridRead binary occupancy grid data from ROS or ROS 2 message structure
rosReadOccupancyGridROS または ROS 2 メッセージ構造体から占有グリッド データを読み取る
rosReadOccupancyMap3DROS または ROS 2 Octomap メッセージ構造体からの 3 次元マップの読み取り
rosWriteBinaryOccupancyGridWrite values from binary occupancy grid to ROS or ROS 2 message structure
rosWriteOccupancyGridWrite values from occupancy grid to ROS or ROS 2 message structure

ブロック

Read ImageExtract image from ROS Image message
Read ScanExtract scan data from ROS or ROS 2 laser scan message
Read Point CloudExtract point cloud from ROS PointCloud2 message
Write ImageWrite image data to a ROS or ROS 2 message
Write Point CloudWrite point cloud data to a ROS or ROS 2 message

トピック

ROS 特化メッセージ