Skip to content

Commit

Permalink
add precision for numpy output in point cloud examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Arkenau committed Oct 20, 2022
1 parent 0764d5f commit 1b155b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/python/gRPC/pointcloud/gRPC_fb_queryPointCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import flatbuffers
import numpy as np

np.set_printoptions(precision=7)
from fb import point_cloud_service_grpc_fb as pointCloudService
from fb.PointCloud2 import PointCloud2

Expand Down
2 changes: 2 additions & 0 deletions examples/python/gRPC/pointcloud/gRPC_fb_sendPointCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

import flatbuffers
import numpy as np

np.set_printoptions(precision=7)
from fb import PointCloud2
from fb import point_cloud_service_grpc_fb as pointCloudService

Expand Down

0 comments on commit 1b155b8

Please sign in to comment.