Comments (4)
The small cars can have quite high side slip angles, in the case of the full scale car this should be avoided.
To answer your question, yes the steering can be constrained to whatever range you like. In the C++ code it is in the bounds.json file and in the matlab version it should also be a config file.
However, it is maybe better to penalize this behavior with the beta cost which is implemented in C++, this is exactly one of the reasons we added this cost.
from mpcc.
ok, thanks for your answer.
I am actually trying to make a script to run a car in the simulator, but the car have a mass of 2 tones, that s why I d like to have steering constraint.
Btw, I checked the Matlab script, but i only see vars to change the cost of change of steering. If you have time, can you help me finding the var to do that ?
from mpcc.
Line 36 in 84cc61d
Line 39 in 84cc61d
you can change it in these two lines, 0.35 is the current steering limit. you need to change it in both lines.
However, i am not sure how good it works for a full sized car, in the C++ code i had to change quite a lot to make it work properly.
from mpcc.
Ok, i wasn't looking at the good script.
Thanks for your answer (3 min reaction time haha), and good luck for the next improvements you would like to make 👍
from mpcc.
Related Issues (20)
- About the State Parameters HOT 1
- Passing in state of 0s into solveMPC() HOT 1
- How to add new soft constraints for velocity HOT 4
- some questions about tractive force at the rear force HOT 6
- C++ build error HOT 3
- cost function HOT 1
- Using Hpipm in Matlab HOT 1
- getContouringCost() detailed description HOT 7
- New Features
- Build instructions for new CppAD-codegen HOT 5
- Possible indexation problem HOT 2
- Question about Track HOT 5
- How can I run the code in MATLAB HOT 5
- What is ZHO? HOT 1
- Is there a guideline to easily and reliably configure the various weights of the evaluation function?
- Regarding the addition of dVs to the control input HOT 2
- 4Wheel Drive Autonmous Driving HOT 13
- Optimal Cost at Each time step . HOT 1
- Lyapunov Based Stability HOT 4
- Inquire if GP based MPC code will be open-source HOT 3
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 mpcc.