Giter VIP home page Giter VIP logo

juliacontrol / modelpredictivecontrol.jl Goto Github PK

View Code? Open in Web Editor NEW
52.0 4.0 0.0 23.91 MB

An open source model predictive control package for Julia.

Home Page: https://juliacontrol.github.io/ModelPredictiveControl.jl/stable

License: MIT License

Julia 100.00%
julia model-predictive-control state-estimation automatic-control control-systems feedback-systems linear-control linear-dynamic-systems nonlinear-control nonlinear-dynamics

modelpredictivecontrol.jl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

modelpredictivecontrol.jl's Issues

Documentation no longer deployed

@baggepinnen

It seems that dev documentation is no longer automatically built and deployed when I commit on main. It was working perfectly before transferring to JuliaControl. Do you have any idea why ? It may be related to secrets key (in documentation.yml):

env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
          DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key

I'm no longer able to access the secrets in repo settings since I'm not an admin.

Also, I just registered a new version. I'm waiting to see if the stable doc will be built and deployed.

edit: yep, it is also broken with the stable doc

Docs questions

The following is a short list of questions I have tried to answer by reading the docs, but haven't found a clear answer to

  • Can I set a unique terminal cost that differs from the running cost? If I don't choose a terminal cost, what cost will be used by default? In particular, I'd like o be able to set the solution to the Ricatti equation of the corresponding LQR problem as the terminal cost matrix.
  • Can I set a terminal state constraint that differs from the state constraints during the rest of the trajectory?
  • Can I use non-diagonal cost matrices? In particular, my weight matrices may come from an initial LQR design, which may or may not be optimization based or use loop-transfer recovery, resulting in non-diagonal matrices.

Remove unicode char in keyword arguments (or offer an alternative) ?

@baggepinnen
There is a palpable hate against unicode characters, especially in keyword arguments of public functions. Some keyword arguments of this package use them e.g.: σP_0, σQ, σR and x̂_0. I personally like them for the conciseness. It is also well known that σ is a standard deviation, and ^, a modifier for an estimated value. Should we offer an alternative, something like:

function SteadyKalmanFilter(
    model::Linmodel;
    i_ym = 1:model.ny,
    σQ = fill(1/model.nx, model.nx),
    σR = fill(1, length(i_ym)),
    nint_u = 0,
    σQint_u = fill(1, max(sum(nint_u), 0)),
    nint_ym = default_nint(model, i_ym, nint_u),
    σQint_ym = fill(1, max(sum(nint_ym), 0))
    sigmaR = σR,                  # new kwarg 
    sigmaQ = σQ,                  # new kwarg
    sigmaQint_u = σQint_u,        # new kwarg
    sigmaQint_ym = σQint_ym       # new kwarg
)    
    # estimated covariances matrices (variance = σ²) := Hermitian(diagm(NT[sigmaQ;  sigmaQint_u;  sigmaQint_ym ].^2), :L)
    R̂  = Hermitian(diagm(NT[sigmaR;].^2), :L)
    return SteadyKalmanFilter{NT, SM}(model, i_ym, nint_u, nint_ym, Q̂ , R̂)
end

and something similar with x̂_0 and xhat_0 ?

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.