Closed shrenikm closed 5 years ago
I implemented this, rendering direct_collocation_with_initial obsolete. Do you want to combine direct_collocation_position in the same script as well?
Ideally yes, because we'll need the position script with and without initial conditions. We need to pass in a matrix of state indices we want to match and then the actual values of the states (Expand from only position equality and make it more generic).
One direct collocation function with variable arguments and parameters. Current structure is messy.