Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ros_numpy/point_cloud2.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def split_rgb_field(cloud_arr):
new_cloud_arr[field_name] = cloud_arr[field_name]
return new_cloud_arr

def get_xyz_points(cloud_array, remove_nans=True, dtype=np.float):
def get_xyz_points(cloud_array, remove_nans=True, dtype=np.float32):
'''Pulls out x, y, and z columns from the cloud recordarray, and returns
a 3xN matrix.
'''
Expand Down