sensor_msgs/PointCloud2 custom data type.
In the process of publishing PointCloud2 Topic, I want to change the data type of the data field. (Float32 --> Float64) Is it possible??
- Default
name : “x”
offset : 0
datatype : 7 (Float32)
count : 1
name: "y"
offset : 4
datatype : 7
count : 1
name: "z"
offset : 8
datatype : 7
count : 1
name: "intensity"
offset : 16
datatype : 7
count : 1
point_step : 32
- To publish by changing the data type to float64, datatype value to 7 -> 8 in the default setting above, but the topic was confirmed in the terminal but is not visualized in rviz. Have I set the wrong value such as Offset or Point Step??
Asked by hoseung_choi on 2021-01-26 10:57:31 UTC
Comments