Open jbcaillau opened 1 year ago
@ocots @PierreMartinon @joseph-gergaud @j-l-s Some todo's suggestions:
constraint!
(t, x, u) ∈ [ 0, 1 ] × R³ × R² (t, x, u, v) ∈ [ 0, v₂ ] × R³ × R² × R² # meaning that final time is free and equal to v[2] = v₂
in place
f!(ẋ(t), x(t), u(t))
F(ẋ(t), x(t), u(t)) == 0
ẋ(t) == f(x(t), u(t)), inplace
could do (such a keyword would look like a label, though)
x'[2](t) == ..., x'[2:4](t) == ...
dynamics!
@Lie [ X, Y ]
@Poisson { f, g }
@
Would be nice to have also
x = (position, velocity) ∈ R², state
to use position and velocity as names for plots.
position
velocity
This has been added:
See
https://github.com/control-toolbox/CTBase.jl/blob/f594793f30f5178e80e0863aa4725e0968faf68d/test/test_onepass.jl#L10
@ocots @PierreMartinon @joseph-gergaud @j-l-s Some todo's suggestions:
constraint!
does help for this)in place
dynamics (f!(ẋ(t), x(t), u(t))
) or even DAE form (F(ẋ(t), x(t), u(t)) == 0
)in place
form, using a keyword likecould do (such a keyword would look like a label, though)
x'[2](t) == ..., x'[2:4](t) == ...
(each time calldynamics!
, and assemble afterwards what the dynamics is...)@Lie [ X, Y ]
and@Poisson { f, g }
directly (= without@
) in the DSL?