Comments (1)
I figured out the solution by myself and want to share it here such that others can benefit from it too.
By design, the activation doesn't get shifted in time by any internal function and is only associated with its respective CostTerm.
Thus, if you want to shift the activation, you have to shift the entire cost function.
Within my mpcLoop I do the following:
// Get time passed since first solve
ct::core::Time t_since_first_solve = ilqr_mpc->timeSinceFirstSuccessfulSolve(t);
// Shift function in time
cost_function->shiftTime(t_since_first_solve);
// Assign shifted cost function to MPC solver
ilqr_mpc->getSolver().changeCostFunction(cost_function);
As this solved my issue, I will close it.
from control-toolbox.
Related Issues (20)
- Failed to generate .kindsl model from the .urdf models provided HOT 2
- Status of the overall project HOT 3
- Cloning and extracting zip fails HOT 5
- matplotlib import error HOT 5
- Building Examples with catkin HOT 3
- Can I define an end-effector on my base link?
- Clarity regarding MPC tutorial example NLOC_MPC HOT 2
- Can I use it for a hexapod robot HOT 1
- Documentation of ct_core
- How to add MPC as a member in a class? HOT 2
- Can this be used for a differential drive wheeled robot? HOT 1
- DynamicRiccatiEquation - reference for implementation
- Ccc
- Installation error with blasfeo HOT 2
- changeInitialState in Dms does not work
- Using plain cmake build fails on Debian Stretch 9: "In function ‘void irb4600_ik::ComputeFk..."
- where can we find the demo code about "a 6-dof arm avoid a dynamic obstacle in a go-to task"
- custom system dynamic for 6dof Robot MPC
- Can it work on the Ubuntu 20.04? How to do it? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-toolbox.