diff --git a/src/publisher_pointcloud.cpp b/src/publisher_pointcloud.cpp index 56eb4df37b26a024ffa80172e8d93b5643f48d4b..d654d059ebbfefed6b9f687eb92006184ea07dda 100644 --- a/src/publisher_pointcloud.cpp +++ b/src/publisher_pointcloud.cpp @@ -114,6 +114,12 @@ pcl::PointCloud<pcl::PointXYZRGB> PublisherPointcloud::buildPointCloud(const Pro // pack r/g/b into rgb uint8_t r, g, b; // Example: Red color double z = 0; + //Color code: + //Most recent capture -> orange points + //Second most recent capture -> red points + //Third most recent capture -> green points + //Forth most recent capture -> blue points + //Other -> "lavender" points switch (counter) { case 0: r = 255;