0001-Extend-PointCloud3DFloat-with-color-information.patch
proto/stable/rst/geometry/PointCloud3DFloat.proto | ||
---|---|---|
13 | 13 |
message PointCloud3DFloat { |
14 | 14 | |
15 | 15 |
/** |
16 |
* One channel of color information attached to a set of 3D points. |
|
17 |
* |
|
18 |
* Each channel contains a vector of the same size as the original point |
|
19 |
* cloud and attaches the value of one color channel to each point of the |
|
20 |
* target point cloud. |
|
21 |
* |
|
22 |
* The following conventions for channel names and respective values exist: |
|
23 |
* |
|
24 |
* * "r", "g", "b": RGB values represented between 0 and 1 |
|
25 |
* * "intensity": grayscale image value. Between 0 and 1 |
|
26 |
* * "u", "v": forms a YUV color information in combination with an |
|
27 |
* "intensity" channel. Between 0 and 1 |
|
28 |
* |
|
29 |
* Inspired by the design of the sensor_msgs/ChannelFloat32 ROS message |
|
30 |
* type. |
|
31 |
* |
|
32 |
* @author jwienke |
|
33 |
*/ |
|
34 |
message Channel { |
|
35 | ||
36 |
/** |
|
37 |
* The name of the color channel. |
|
38 |
*/ |
|
39 |
required string name = 1; |
|
40 | ||
41 |
/** |
|
42 |
* The actual values for the represented color channel for each point |
|
43 |
* of the target point cloud. |
|
44 |
*/ |
|
45 |
repeated float values = 2; |
|
46 | ||
47 |
} |
|
48 | ||
49 |
/** |
|
16 | 50 |
* TODO |
17 | 51 |
*/ |
18 | 52 |
// @unit(meter?) |
19 | 53 |
repeated math.Vec3DFloat points = 1; |
20 | 54 | |
55 |
/** |
|
56 |
* An optional set of color-like information to attach to each point of |
|
57 |
* the point cloud. |
|
58 |
*/ |
|
59 |
// TODO formulate length constraint |
|
60 |
repeated Channel channels = 2; |
|
61 | ||
21 | 62 |
} |
22 |
- |