Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: acados/acados
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: acados/acados
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.2
Choose a head ref
  • 17 commits
  • 103 files changed
  • 6 contributors

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    ebd1055 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    370af36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e09c634 View commit details
    Browse the repository at this point in the history
  3. add idxsh_0 to layout (#1060)

    This was missing in #1059 to make
    this work in matlab for nsh_0 > 0.
    #1056
    FreyJo authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    516a610 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Fix openmp (#1061)

    Compilation with openmp failed after #1057
    Added test target with openmp on github actions.
    FreyJo authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    e97d8c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Solution sensitivities with respect to parameters (#1055)

    This PR implements two functionalities:
    
    1. the computation of the solution sensitivity with respect to
    parameters.
    - Usage in Python: Set `ocp.solver_options.with_solution_sens_wrt_params
    = True`, call `ocp_solver.eval_solution_sensitivity(,
    with_respect_to='params_global')`.
    - Demonstrated in
    `examples/acados_python/pendulum_on_cart/solution_sensitivities/policy_gradient_example.py`
    - Implementation: 
    - a) Compute derivative of right hand side of QP wrt parameters
    `ocp_nlp_params_jac_compute`
    - b) Perform vector Riccati sweep via  `ocp_nlp_common_eval_param_sens`.
    
    2. the computation of the derivative of the optimal cost with respect to
    parameters.
    - Usage in Python: Set `ocp.solver_options.with_solution_sens_wrt_params
    = True`, call `ocp_solver.get_optimal_value_gradient(with_respect_to =
    "params_global")`
    - Demonstrated in
    `examples/acados_python/pendulum_on_cart/solution_sensitivities/value_gradient_example.py`
    - Implementation: compute Lagrange gradient of cost function wrt
    parameters, new external functions added.
    
    Limitations:
    - Parametric sensitivities where constraints depend on parameters not
    supported
    - Parametric sensitivities only supported with discrete dynamics and
    external cost module
    
    ---------
    
    Co-authored-by: sandmaennchen <[email protected]>
    Co-authored-by: dirk <[email protected]>
    3 people authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    66bd329 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. CMake update (#1065)

    - Make including QORE directories conditional: Addresses  #1062
    - Replace find_package with modern find_dependency in acadosConfig.cmake
    to let acados propagate find_package args like REQUIRED
    - Installs acados's own Find*.cmake scripts to let them be found if the
    user installs to non-default locations by tweaking ACADOS_INSTALL_DIR
    - Remove unused `FindNumpy.cmake`, `FindMatlab.cmake`
    
    ---------
    
    Co-authored-by: Jonathan Frey <[email protected]>
    Hs293Go and FreyJo authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    14559b2 View commit details
    Browse the repository at this point in the history
  2. Small cleanup (#1064)

    * remove dead code
    * replace utcnow with now
    * get k from HPIPM
    * move copy_ocp_nlp_out to common
    FreyJo authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    4cc5800 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    c9da932 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Configuration menu
    Copy the full SHA
    d182148 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11834f8 View commit details
    Browse the repository at this point in the history
  3. Python convenience improvements (#1068)

    - add T to `AcadosSimSolver`
    - AcadosModel: add time_label, ulabels, xlabels
    - improve plot and demonstrate usage in getting started example
    - improve CSTR example
    
    ---------
    
    Co-authored-by: sandmaennchen <[email protected]>
    FreyJo and sandmaennchen authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    4222bc4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    700db94 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Improve Python unicycle example (#1072)

    and fix names `x_labels`, `u_labels` in Python.
    FreyJo authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    7092f2d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Python interface: cleanup solver (#1073)

    * move `simulink_opts` to ocp
    * move `ocp_render_templates`, `ocp_formulation_json_dump`,
    `__ocp_get_template_list` to ocp, and similar for mocp
    * move `get_simulink_default_opts` to utils
    * move `ocp_get_default_cmake_builder`, `sim_get_default_cmake_builder`
    to builders
    sandmaennchen authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    6c0023e View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Matlab Interface: Add ztraj to sfunction output (#1074)

    Added an output port in the acados_ocp S-function block for the
    algebraic states' trajectory, `ztraj`, equivalent to `xtraj`.
    
    Co-authored-by: Leonardo <[email protected]>
    leonardocecchin and Leonardo authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0f2dedd View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    0604d74 View commit details
    Browse the repository at this point in the history
Loading