You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ocots just to be sure / for the record: do we agree that the motivation for the typing of Dynamics below, for instance allowing to call with time and / or variable arguments while the ocp is {Autonomous, Fixed}, is intended to enable a uniform call (e.g. in CTDirect.jl) with the most general signature, a.k.a. (t,x,u,v)?
For the sake of sanity, I would otherwise strongly advocate forbidding this (seemingly incoherent) use (i.e. using a time argument with an Autonomous ocp, etc.) On the contrary, I agree that it is convenient for developers to have access to uniform calls. changed my mind on this, not important
FYI @PierreMartinon@joseph-gergaud : might be some similar things (some already implemented) to add in the interface (= exported setters / getters & more) of CTDirect.jl.
@ocots just to be sure / for the record: do we agree that the motivation for the typing of
Dynamics
below, for instance allowing to call with time and / or variable arguments while the ocp is{Autonomous, Fixed}
, is intended to enable a uniform call (e.g. inCTDirect.jl
) with the most general signature, a.k.a.(t,x,u,v)
?For the sake of sanity, I would otherwise strongly advocate forbidding this (seemingly incoherent) use (i.e. using a time argument with anchanged my mind on this, not importantAutonomous
ocp, etc.) On the contrary, I agree that it is convenient for developers to have access to uniform calls.CTBase.jl/src/functions.jl
Line 561 in 9c156ad
The text was updated successfully, but these errors were encountered: