ros3d.js中动态改变pointCloud2点云数据的参数
ros3d.js中动态改变pointCloud2点云数据的参数
ros3d.js 改造
class Points extends THREE.Object3D {/*** A set of points. Used by PointCloud2 and LaserScan.** @constructor* @param options - object with following keys:** * tfClient - the TF client handle to use* * rootObject (optional) - the root object to add this marker to use for the points.* * max_pts (optional) - number of points to draw (default: 10000)* * pointRatio (optional) - point subsampling ratio (default: 1, no subsampling)* * messageRatio (optional) - message subsampling ratio (default: 1, no subsampling)* * material (optional) - a material object or an option to construct a PointsMaterial.* * colorsrc (op