Hi @bamos !
I'm trying to run the pendulum's example but in the MPC constructor, I think there is an error. The output is the following:
`
Traceback (most recent call last):
File "", line 54, in
)(x, QuadCost(Q, p), pend)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/mpc/mpc.py", line 265, in forward
x_init, C, c, F, f, cost, dx, x, u)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/mpc/mpc.py", line 362, in solve_lqr_subproblem
x, u = _lqr(x_init, C, c, F, f if f is not None else e)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/mpc/lqr_step.py", line 112, in forward
Ks, ks, self.back_out = self.lqr_backward(C, c_back, F, f_back)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/mpc/lqr_step.py", line 303, in lqr_backward
x_init=prev_kt, n_iter=20)
File "/home/carlos/anaconda3/lib/python3.7/site-packages/mpc/pnqp.py", line 45, in pnqp
g_[Ic.bool()] = 0.
AttributeError: 'Tensor' object has no attribute 'bool'
`
I really appreciate if you could help me out!