FrancescoRuscelli / horizon

an intuitive optimization tool tailored to robotics, based on CasADi
7 stars 9 forks source link

Throw error when inserted node goes out the number of nodes #18

Closed EnricoMingo closed 2 years ago

EnricoMingo commented 2 years ago

I went through this using the following command: q.setBounds(qf, qf, nodes=ns+1) with ns the number of nodes used to instantiate the problem. This should throw an error (check also other methods).

EnricoMingo commented 2 years ago

@FrancescoRuscelli Did you manage to solve this?

FrancescoRuscelli commented 2 years ago

solved in 5b20f40e26a944b7c691a06d9ed83adece1a1810