Skip to content

Commit

Permalink
Fix camera snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
JessamyT committed Sep 25, 2024
1 parent 08fba0c commit 0ac3162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/camera/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ type Camera interface {
//
// myCamera, err := camera.FromRobot(machine, "my_camera")
//
// // gets the properties from a camera
// properties, err := myCamera.Properties(context.Background())
// // gets the next point cloud from a camera
// pointCloud, err := myCamera.NextPointCloud(context.Background())
//
// Close example:
//
// myCamera, err := camera.FromRobot(machine, "my_camera")
//
// err = myCamera.Close(ctx)
// err = myCamera.Close(context.Background())
//
// [camera component docs]: https://docs.viam.com/components/camera/
type VideoSource interface {
Expand Down

0 comments on commit 0ac3162

Please sign in to comment.