locuslab / mpc.pytorch

A fast and differentiable model predictive control (MPC) solver for PyTorch.
https://locuslab.github.io/mpc.pytorch/
MIT License
872 stars 146 forks source link

Undefined names in env_dx #2

Closed danfeiX closed 6 years ago

danfeiX commented 6 years ago

should import empc be changed to import mpc (or rename the mpc directory)?

self.length is not defined in cartpole.py

bamos commented 6 years ago

Thanks! I've updated both of those.