ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
A good place to start is the API documentation.
For example, the pcl::Poincloud doc shows you that you can get any point by indexing into it with the [] operator, like an array.
The PointXYZRGB description isn't as clear, but it does tell you it's a struct (meaning all members are public), and if you dig through the header files you'll find you can access the values via point.x, .y, .z, etc.
2 | No.2 Revision |
A good place to start is the API documentation.
For example, the pcl::Poincloud doc shows you that you can get any point by indexing into it with the [] operator, like an array.
The PointXYZRGB description isn't as clear, but it does tell you it's a struct (meaning all members are public), and if you dig through the header files you'll find you can access the values via point.x, .y, .z, etc.
3 | No.3 Revision |
A good place to start is the API documentation.
For example, the pcl::Poincloud doc shows you that you can get any point by indexing into it the cloud with the [] operator, like an array.
The PointXYZRGB description isn't as clear, but it does tell you it's a struct (meaning all members are public), and you'll find you can access the values via point.x, .y, .z, etc.