Git Product home page Git Product logo

Comments (1)

tudoroancea avatar tudoroancea commented on September 22, 2024

We can actually make the casadi interpolant class parametric (see this constructor).
We can therefore only provide the grid points at generation time with

kappa_ref = interpolant("kappa_ref", "linear", [s_ref])

and define the dynamics using kappa_ref(s, kappa_ref_values) (instead of kappa_ref(s)) where kappa_ref_values is an SX/MX variable contained in the parameters of the AcadosModel.
These parameters then only have to be set at runtime using the function ihm2_fkin6_acados_update_params().

Only caveat: the grid itself can also be a parameter but the size is determined at generation time. We therefore had (for the moment) to sample a fixed number of points on the center line of each track (5000 per lap to have at most 10cm resolution for the longest FS tracks of 500m).

from ihm2.

Related Issues (15)

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.