We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ddb7e commit eea13c2Copy full SHA for eea13c2
ros2_numpy/point_cloud2.py
@@ -79,7 +79,7 @@ def fields_to_dtype(fields, point_step):
79
dtype = np.dtype((dtype, f.count))
80
81
np_dtype_list.append((f.name, dtype))
82
- offset += type_mappings[f.datatype].itemsize * f.count
+ offset += pftype_to_nptype[f.datatype].itemsize * f.count
83
84
# might be extra padding between points
85
while offset < point_step:
0 commit comments