www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/InspectPointCloudImageExample.m
%% Inspect Point Cloud Image % Access and visualize the data inside a point cloud message. %% % Create sample ROS messages and inspect a point cloud image. exampleHelperROSLoadMessages ptcloud %% % Get RGB info and _xyz_-coordinates from the point cloud. xyz = readXYZ(ptcloud); rgb = readRGB(ptcloud); %% % Display the point cloud in a figure. scatter3(ptcloud)