Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenmilne committed Dec 19, 2018
1 parent bebc4b9 commit 3d41d83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Here is a basic walkthrough of an example that runs a Holodeck world:
import holodeck
import numpy as np
env = holodeck.make("UrbanCity") # Load the environment. This environment contains a UAV in a city.
env.reset() # You must call `.reset()` on a newly created environment before ticking/stepping it
command = np.array([0, 0, 0, 100]) # The UAV takes 3 torques and a thrust as a command.
for i in range(30):
state, reward, terminal, info = env.step(command) # Pass the command to the environment with step.
Expand Down

0 comments on commit 3d41d83

Please sign in to comment.