Skip to content

Commit

Permalink
remove uneccesary projector from client
Browse files Browse the repository at this point in the history
  • Loading branch information
randhid committed Sep 4, 2024
1 parent 45d0c1d commit 1f734ca
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions components/camera/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,21 +300,6 @@ func (c *client) NextPointCloud(ctx context.Context) (pointcloud.PointCloud, err
}()
}

func (c *client) Projector(ctx context.Context) (transform.Projector, error) {
var proj transform.Projector
props, err := c.Properties(ctx)
if err != nil {
return nil, err
}
intrinsics := props.IntrinsicParams
err = intrinsics.CheckValid()
if err != nil {
return nil, err
}
proj = intrinsics
return proj, nil
}

func (c *client) Properties(ctx context.Context) (Properties, error) {
result := Properties{}
resp, err := c.client.GetProperties(ctx, &pb.GetPropertiesRequest{
Expand Down

0 comments on commit 1f734ca

Please sign in to comment.