control-toolbox / OptimalControl.jl

Model and solve optimal control problems in Julia
http://control-toolbox.org/OptimalControl.jl/
MIT License
69 stars 6 forks source link

Finalise solution #161

Closed ocots closed 1 month ago

ocots commented 11 months ago

Move the part

https://github.com/control-toolbox/CTDirect.jl/blob/ef02151d8aa760f0cd1f4d42469ad9fa856a2466/src/solution.jl#L29C5-L29C20

to

https://github.com/control-toolbox/OptimalControl.jl/blob/e7fd42a294297e3964631b27e9e5711017ae3570/src/solve.jl#L93

and replace copy! by finalise. hence, nothing can be forgotten and we could add some post computations for instance to smooth the control...