Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Based on https://github.com/psf/black/actions/runs/17913292/workflow

name: Black Lint
name: Black Style
on:
push:
paths:
Expand Down
4 changes: 2 additions & 2 deletions docs/usage/examples/camera.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ next window.
for _ in range(10):
state = env.tick()

pixels = state['sphere0'][holodeck.sensors.RGBCamera.sensor_type]
pixels = state['RGBCamera']
cv2.namedWindow("Camera Output")
cv2.moveWindow("Camera Output", 500, 500)
cv2.imshow("Camera Output", pixels[:, :, 0:3])
cv2.waitKey(0)
cv2.destroyAllWindows()
cv2.destroyAllWindows()