From 66970c46fb1151f39aca65030570513da48a1bcd Mon Sep 17 00:00:00 2001 From: Vin Howe <24789592+vinhowe@users.noreply.github.com> Date: Wed, 20 Jan 2021 18:57:18 -0700 Subject: [PATCH 1/2] Update and rename black-lint.yml to black-style.yml --- .github/workflows/{black-lint.yml => black-style.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{black-lint.yml => black-style.yml} (96%) diff --git a/.github/workflows/black-lint.yml b/.github/workflows/black-style.yml similarity index 96% rename from .github/workflows/black-lint.yml rename to .github/workflows/black-style.yml index ef47697f..b68b2ebe 100644 --- a/.github/workflows/black-lint.yml +++ b/.github/workflows/black-style.yml @@ -1,6 +1,6 @@ # Based on https://github.com/psf/black/actions/runs/17913292/workflow -name: Black Lint +name: Black Style on: push: paths: From a37fea26a3dcbd9de5b9131e02ae08eaa146d84b Mon Sep 17 00:00:00 2001 From: Medric Sonwa Date: Sat, 19 Feb 2022 00:34:40 -0500 Subject: [PATCH 2/2] Update camera.rst It seems there is no 'sphere0' key in states of 'MazeWorld-FinishMazeSphere' --- docs/usage/examples/camera.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/examples/camera.rst b/docs/usage/examples/camera.rst index 1747671b..81542635 100644 --- a/docs/usage/examples/camera.rst +++ b/docs/usage/examples/camera.rst @@ -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() \ No newline at end of file + cv2.destroyAllWindows()