帮助中心帮助中心
从ROS或ROS 2点云消息结构中获取所有可用字段名
names = rosReadAllFieldNames(pcloud)
的名字= rosReadAllFieldNames (pcloud)返回所有存储在ROS或ROS 2中的字段“sensor_msgs / PointCloud2”消息结构,pcloud,并将它们返回的名字.
的名字= rosReadAllFieldNames (pcloud)
的名字
pcloud
“sensor_msgs / PointCloud2”
全部折叠
点云,指定为ROS或ROS 2的消息结构“sensor_msgs / PointCloud2”消息。
PointCloud2
中的字段名称列表“sensor_msgs / PointCloud2”消息,作为字符向量的单元格数组返回。如果消息中不存在字段,字段名返回一个空单元格数组。
字段名
使用注意事项和限制:
使用在MATLAB函数不支持Block。万博1manbetx
R2021a中引入
rosReadXYZ|rosReadField|rosReadRGB|rosReadCartesian
rosReadXYZ
rosReadField
rosReadRGB
rosReadCartesian
你点击了一个对应于这个MATLAB命令的链接:
在MATLAB命令窗口中输入该命令来运行该命令。Web浏览器不支持MATLAB命令。万博1manbetx
选择一个网站,在可用的地方获得翻译的内容,并查看当地的活动和优惠。根据您所在的位置,我们建议您选择:.
您也可以从以下列表中选择一个网站:
选择中国站点(中文或英文)以获得最佳站点性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
联系当地办事处