control-toolbox / control-toolbox/bocop

Reintroduce automatic free times

Open
#34 1 comment 0 reactions 1 assignee Claimed by @PierreMartinon View on GitHub
Dominant language
C++
Stars
4
Forks
1
Avg merge
1m
Merged PRs (30d)
1

Description

keyword free instead of numeric value for initial/final time in .def (or if too annoying use additional keys such as free.initial.time true/false)

Internally:
- use [0,1] fixed time grid
- append parameters for free times, with small lower bounds
- rescale time from [0,1] to [t0,tf] for OCP functions and time steps in dynamics equations, as well as solution file
- note that this changes the type of the final_time and time arguments passed to the OCP functions, so the declarations in each problem.cpp file need to be updated -_- It would be more practical to have this block included from a single source file in src/, if possible

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.