code: def sphere_example():
      
      env = holodeck.make("MazeWorld")
  
      # This command is to constantly rotate to the right
      command = 2
      for i in range(10):
          env.reset()
          for _ in range(1000):
              state, reward, terminal, _ = env.step(command)
  
              # To access specific sensor data:
              pixels = state[Sensors.PIXEL_CAMERA]
              orientation = state[Sensors.ORIENTATION_SENSOR]
docs: A basic example of how to use the sphere agent.