kotakku / simple_casadi_mpc Goto Github PK
View Code? Open in Web Editor NEWC++用CasADiでMPCする用ライブラリ
License: Apache License 2.0
C++用CasADiでMPCする用ライブラリ
License: Apache License 2.0
hello. I've recently been trying to solve an manipulator motion planning NMPC problem using the pinocchio robotics library. However, I am experiencing problems using the pinocchio library in stage cost and terminal cost function.
I am trying to solve the following motion planning problem using nmpc.
I am trying to solve forward kinematics by taking the q value in the state from the stage cost and terminal cost, but the state is of MX type so I cannot use the pinocchio library. In the case of inequality constraints, the distance between the robot and the obstacle must be measured using the robot's q value for obstacle avoidance, but it is also difficult because the state is of the MX type.
Would it be helpful to change the arguments of the function to the casadi::DM type?
Hello, I am a student trying to implement MPC based on your library. I would like to express my gratitude to you for creating a library that made it easy to use casadi, which made it easy to implement mpc.
The question I would like to ask in the repository is that if the predict horizon is smaller than the number of states, nx, a segment error occurs.
The part where the problem occurs is in the code below that declares the MPC class in simple_casadi_mpc.hpp.
for (auto l = 0; l < nx; l++)
{
lbw_.push_back(x_bounds[nx - 1].first[l]);
ubw_.push_back(x_bounds[nx - 1].second[l]);
}
I would like to ask whether the number of repetitions in the for statement in the above code should be predict horizon N, not nx.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.