Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-mishra committed Jan 4, 2024
1 parent 1521852 commit 5ce441c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions viam_cartographer.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ func (cartoSvc *CartographerService) PointCloudMap(ctx context.Context) (func()
}

cartoSvc.logger.Info("DEBUGLOGS: got pointcloud map from C++")
cartoSvc.logger.Infof("DEBUGLOGS: postprocessed = %s", cartoSvc.postprocessed.Load())
if cartoSvc.postprocessed.Load() {
cartoSvc.logger.Info("DEBUGLOGS: postprocessed = true")
var updatedPc []byte
cartoSvc.logger.Info("DEBUGLOGS: calling UpdatePointCloud")
err = postprocess.UpdatePointCloud(pc, &updatedPc, cartoSvc.postprocessingTasks)
Expand All @@ -567,8 +567,6 @@ func (cartoSvc *CartographerService) PointCloudMap(ctx context.Context) (func()
}

return toChunkedFunc(updatedPc), nil
} else {
cartoSvc.logger.Info("DEBUGLOGS: postprocessed = false")
}

return toChunkedFunc(pc), nil
Expand Down

0 comments on commit 5ce441c

Please sign in to comment.