dojo-sim / dojopy

Python interface to Dojo
MIT License
59 stars 3 forks source link

Fix random control in README script #2

Closed stephane-caron closed 2 years ago

stephane-caron commented 2 years ago

The Quickstart README example references an undefined nu (also a missing import of Base). From test code that one is probably:

# random control
from julia import Base
nu = dojo.input_dimension(env.mechanism)
u1 = Base.rand(nu)
thowell commented 2 years ago

Fixed, thanks!