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

problem.solution.time not consistent #86

Open jtheinen opened 1 year ago

jtheinen commented 1 year ago

Problem

when showing problem.solution.time, the start of the first phase never shows, even when initial time is a non zero number. problem.solution.time Out: (array([1.]), array([1., 2.]))

Solution

I think it would make more sense if the output is consistent: (array([t0_p0, tF_p0]), array([t0_p1, tF_p1])) problem.solution.time Out: (array([0, 1.], array([1., 2.]))