brocksam / pycollo

General-purpose optimal control, trajectory optimisation and parameter optimisation using direct collocation
https://brocksam.github.io/pycollo/
MIT License
8 stars 3 forks source link

Add support for easy interpolate of OCP solutions #41

Open brocksam opened 2 years ago

brocksam commented 2 years ago

OCP solutions are almost certainly on nonuniform temporal meshes. Add functionality so that OCP solutions can easily be interpolated to other (e.g. uniform) meshes. This functionality is already implemented in the plotting module (https://github.com/brocksam/pycollo/blob/master/pycollo/vis/plot.py), it just needs to be refactored to make it more accessible.