Skip to content
Snippets Groups Projects
Commit ec76f69a authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Comment color code for pointclouds

parent 3c8e149a
No related branches found
No related tags found
2 merge requests!4new release,!3New release
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment