stanfordnmbl / osim-rl

Reinforcement learning environments with musculoskeletal models
http://osim-rl.stanford.edu/
MIT License
896 stars 249 forks source link

Fix potential bug with muscle observations #120

Closed Shmuma closed 6 years ago

Shmuma commented 6 years ago

Dict's key() method can return values in arbitatry order, which could be dramatic for RL agent's observation. Better to use sorted() here.