FrancescoRuscelli / horizon

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

Better handling of nodes intervals #2

Closed EnricoMingo closed 3 years ago

EnricoMingo commented 3 years ago

At the moment, to specify a node interval the user has to pass a tuple as a list. This is not intuitive, also because inside it is used a range(a,b) which goes from a to b-1. Furthermore, the user can not specify nodes that are not consecutive (which could be specified with a list).

To fix this the proposal is to use always a list (not a tuple as a list).

EnricoMingo commented 3 years ago

This was solved. I'll close.